European officials said Trump had opposed language in the draft final summit communique on the need to bolster the World Trade Organization and multilateral oversight of commerce, but that this commitment would survive.
Speaking at a post-summit press conference, Trudeau acknowledged that there were major differences with Trump.
This meant there were some pretty big characters in that room - German Chancellor Angela Merkel, British PM Theresa May, Canadian PM Justin Trudeau, French President Emmanuel Macron, as well as Europe chiefs Donald Tusk and Jean-Claude Juncker.
Trudeau responded with a laugh: "So I'd say NAFTA is in good shape".
"Trump did not want to be isolated", Macron said.
Earlier, Trudeau had told reporters that Trump's decision to invoke national security to justify U.S. tariffs on imports of steel and aluminum was "insulting" to Canadian veterans who had stood by their United States allies in conflict's dating back to World War I. "You want a tariff-free - you want no barriers, and you want no subsidies", he said.
Meanwhile, the European Union - the world's largest trading bloc - announced last week it would impose retaliatory tariffs on the us beginning in July, over Washington's duties on steel and aluminum imports from Europe.
But Trump had already said he would not hesitate to shut countries out of the United States market if they retaliate to his tariffs.
Turkey hits out at 'anti-Islam' Austria over imam expulsions
Last week Turkish President Recep Tayyip Erdogan attacked Mr Kurz, saying: "This immoral chancellor has a problem with us". Imams in Austria gather in front of a mosque in Vienna on June 14, 2017, expressing their solidarity against extremism.
Thousands gather for 'Trooping the Colour' for Queen Elizabeth
Meanwhile Princess Charlotte burst into floods of tears (right) during the celebration to mark the Queen's 92nd birthday. Trooping the Colour dates back to the 17 century, and is performed by regiments of the British and Commonwealth armies.
Trump, Macron cool down the buddy act at Canada's G7
Trudeau addressed the president's Twitter blasts while visiting Quebec's Saguenay region on Thursday. As he headed to a G7 summit in Canada , Mr Trump said: " Russia should be in the meeting".
"The relationship that I've had [with the other leaders] is great, so you can tell that to your fake friends at CNN", the president told one reporter.
"So, if I can get the president to actually realize that what he's doing is counterproductive for his own goals as well, then perhaps we can move forward in a smarter way".
"I've been firm, I've been clear, but I don't think descending into insults is right for the way Canada engages with the world", the prime minister said.
Trudeau's office released a statement in response, that said "we are focused on everything we accomplished here at the G7 summit".
Sticking points also remain in the North American Free Trade Agreement (Nafta) renegotiations between Canada, the U.S. and Mexico, despite it being a key topic during the bilateral meeting between Mr Trump and Canadian PM Justin Trudeau.
Trump will be leaving the summit four hours earlier to travel to Singapore to meet North Korean leader Kim Jong-un.
But in a tweet after flying out of Canada, the USA president showed he was in no mood to back down in any trade dispute. Trump said he was discussing two types of sunset provisions in which any of the countries could leave the deal.
"The European Union is brutal to the United States ..."
For the past week, it was an open question in official Ottawa whether Trump would actually show up, given his recent trade actions against the other G7 countries and his increasingly antagonistic comments about their approach to global relations.
A senior United Kingdom government source said it stood by the commitments made in the communiqué., while a European Union official at the summit said it would "stick to the commitments made by all participants".