(Bloomberg) -- China’s Foreign Minister Wang Yi took a swipe at U.S. President Donald Trump during a United Nations summit on Monday, saying the world will continue to fight global warming without him.

While Wang didn’t call out Trump or the U.S. directly, he said the “withdrawal of certain parties” from the global Paris climate agreement “will not shake the collective will of the international community, nor will it reverse the historical trend of international cooperation.” Trump has vowed to pull the U.S. out of the Paris accord and dismantle Obama-era rules to slash greenhouse-gas emissions from power plants.

“We must follow through on the Paris agreement,” Wang said. “We must uphold multilateralism.”

It’s not the first time Wang has taken issue with Trump’s policies. Last month, he blasted him for imposing another round of tariffs against Chinese products, saying it was “absolutely not the right solution to trade frictions.”

The UN climate summit wasn’t initially on Trump’s schedule this week in New York, but he made an unexpected appearance at the event on Monday, before heading to a conference on religious freedom. Trump didn’t speak at the climate summit, instead spending about 15 minutes listening to remarks by Indian Prime Minister Narendra Modi and German Chancellor Angela Merkel.

--With assistance from Vivek Shankar.

To contact the reporters on this story: David R. Baker in San Francisco at dbaker116@bloomberg.net;David Wainer in New York at dwainer3@bloomberg.net

To contact the editors responsible for this story: Lynn Doan at ldoan6@bloomberg.net, Bill Faries

©2019 Bloomberg L.P.