President Donald Trump was recorded saying "get me out of here" as he strode offstage at the G20 Summit in Buenos Aires, Argentina.

Trump was onstage for a group photo before he shook hands with Argentinian President Mauricio Macri and walked off the stage.

Trump eventually returned to take a group photo to mark the end of the two-day summit.

President Donald Trump was recorded saying "get me out of here" as he strode offstage during a photo op at the G20 Summit in Buenos Aires, Argentina.

Trump was onstage for a group photo Saturday before he shook hands with Argentinian President Mauricio Macri and walked off the stage, closely followed by an aide.

A microphone then recorded the president, who was then off-camera, telling an aide "get me out of here."

Trump eventually returned to take a group photo, marking the end of the two-day gathering of international leaders.

Trump was slated to conduct critical talks at the closely watched summit, including a formal dinner with Chinese President Xi Jinping during which he would address the burgeoning trade war between the two countries. In remarks ahead of their Saturday night dinner, the leaders both expressed their friendly relationship helped the talks.

Other issues, including climate change, were pushed aside by Trump, as he was the only leader present who did not sign a statement reaffirming leaders' commitment to addressing climate change through guidelines of the Paris agreement.

Aside from small appearances, Trump kept distance from the press after he canceled a Saturday afternoon press conference as a sign of respect in the hours following former George H.W. Bush's passing.