Philippine President Rodrigo Duterte said on Wednesday his country would maintain its existing defence treaties and its military alliances, adding to uncertainty and confusion over the status of security ties with the United States.

It an apparent break from a weeks-long torrent of anti-American rhetoric, Duterte suggested defence alliances would continue and his foreign policy was to “realign”, but reiterated joint exercises with US troops, a decades-old tradition, would be stopped.

Part of the re-alignment has been overtures towards China and Russia, which Duterte has spoken highly of and plans to visit in the weeks ahead, starting with China from Oct. 18-21.

“We need not really break or abrogate our existing treaties because they say that it could provide us with the umbrella,” Duterte said in a speech to the coastguard personnel in Manila.

“We will maintain all military alliances because they say we need it for our defence.”

It was not immediately clear who Duterte was attributing the comments to when he mentioned “they” in his justification for maintaining ties.

He told US President Barack Obama last week to “go to hell” and alluded to severing ties with Washington. He also said the Philippines “would not beg” for US aid and dared the US spy agency to oust him.

The maverick former Davao City mayor has expressed anger over US colonial rule and what he called “reprimands” from Washington about his bloody war on drugs.

Duterte’s pronouncements on the status of ties with the United States have created considerable confusion, with US officials adamant that relations are unchanged and Philippine defence officials saying security programmes are to be reviewed to determine their relevance.

The Philippines and the United States currently hold 28 exercises together each year, three of which are major programmes and the rest minor, according to the Philippine defence ministry.

Though Duterte said the existing military alliances would remain intact, in his speech on Wednesday, he said joint drills were off the table.

“I insist that we realign, that there will be no more exercises next year. Do not prepare,” he said.

“I told Defence Secretary (Delfin) Lorenzana, do not make preparations for next year’s. I don’t want it anymore. I will chart an independent foreign policy.”