BEIRUT, Lebanon — An international team sent to investigate allegations that chlorine gas had been used as a weapon in Syria’s civil war came under attack on Tuesday, forcing it to abort its mission to reach a village where numerous such attacks have been reported.

In a statement, the team from the Organization for the Prohibition of Chemical Weapons, which is collaborating with the United Nations in overseeing Syria’s promise to abandon chemical weapons, said all of its investigators were safe and had returned to their base.

The Organization for the Prohibition of Chemical Weapons has been working since last year to help Syria dispose of its chemical weapons under an agreement reached to avert threatened American strikes, after Aug. 21 chemical attacks that the Americans blamed on Syrian forces killed hundreds of people near Damascus, the Syrian capital.

Recently, however, antigovernment activists have accused the government of hitting rebel areas with chlorine gas, which is not normally considered a chemical weapon, to inflict misery on the rebels and their civilian backers.