A.P. Moller-Maersk A/S will redirect its vessels to sail south of Africa to avoid the Red Sea conflict area where Houthi militants have attacked several ships.

About 20 Maersk vessels, waiting on both sides of the Suez Canal, will now change course and sail the long way around the continent, the Copenhagen-based company said in a statement on Tuesday.

“Out of safety reasons all vessels previously paused and due to sail through the region will now be re-routed around Africa via the Cape of Good Hope,” Maersk said. “They will continue their voyages on the diverted routes as soon as operationally feasible.”

Maersk, which transports about 15% of the world’s containers at sea, last week paused its vessels in the area due to the attacks, which also targeted one of the Danish company’s ships. On Monday, the US said it has agreed with allies, including the UK, Canada, France, to create a naval task force to counter attacks on ships in the region. 

“We are pleased to see global governments reacting promptly with joint efforts,” Maersk said. “However, at this time it remains difficult to determine exactly when this will be. Meanwhile, routing vessels via the Cape of Good Hope will ultimately deliver faster and more predictable outcomes for our customers and their supply chains.”

Maersk also redirected its ships around Africa in 2021 when the Suez canal was blocked for several days by a large container vessel. Back then, the disruption led to higher freight rates and a period of record profits for shipping lines. Maersk shares rose 0.2% in Copenhagen trading on Tuesday, after gaining more than 10% over the past two trading days combined.