French energy giant Total has suspended operations at a site exploring a major gas field in northern Mozambique weeks after Islamist militants attacked a nearby town.
The company said that it was withdrawing all its staff because of the "evolving" security situation.
Dozens of people were killed in the March raid on the town of Palma.
Total's $20bn (£14.6bn) gas liquification plant is the largest foreign investment in Africa.
Its Afungi site is near Palma which has been repeatedly attacked by militants linked to the Islamic State (IS) group.
During the 24 March attack, dozens of foreign contract workers and local people were besieged at the Amarula Palma Hotel.
The UN's World Food Programme said last week that the March attack had caused tens of thousands to flee the area - adding to a growing humanitarian crisis.
The agency says many lack proper shelter, and malnutrition among children is on the rise.
The four-year insurgency in Cabo Delgado region has left more than 2,500 people dead and 700,000 displaced.
Mozambique's President Felipe Nyusi has promised to restore peace in the restive Cabo Delgado province.
On Monday Total said it "expresses its solidarity" with the government and called on the authorities to restore security.
The halting of operations is a big blow to Mozambique, the BBC's Africa correspondent Catherine Byaruhanga reports.
There are now growing concerns as to whether international firms can operate in Cabo Delgado, she adds.
The insecurity has also affected local traders - the country's main business association said small and medium sized firms had lost $90 (£64m).
Who are the insurgents?
They are primarily Muslims from the coastal zone of Cabo Delgado, recruited by local fundamentalist preachers with a socialist message - that Sharia, or Islamic law, would bring equality and everyone would share in the coming resource wealth, according to Mozambique analyst Joseph Hanlon.
The first attack in the region was in 2017 on Mocimboa da Praia, the only city and port in this northern zone.
The preachers' message and the promise of jobs and money led many young men to join the insurgency, and it gained support in local communities, he added.
The consensus is that the insurgency started locally and that foreign and IS involvement came later. The disagreement is over how important that is, said Dr Hanlon.