Boris Johnson was trying out a 45 m (150 ft) high zip wire at Victoria Park, where the Games are being shown on big screens.
The wire then lost momentum, leaving him suspended “like an odd Christmas decoration” above a crowd of people.
As onlookers snapped photos, he joked: “This is great fun but it needs to go faster.”
Lee Medcalf, who was at the event, said: “When Boris came down the zip wire, it was very James Bond-esque with him shouting <<Team GB>>.
“However, he seemed to lose momentum and was left hanging there like an odd Christmas decoration for about five to 10 minutes.
“He spoke to the crowd, which had gathered beneath him, saying <<this is what it’s all about; this is great, this is fantastic, this is Team GB>>.
“I was thinking <<Yeah it’s good, but you’re still just hanging there>>.”
A spokesman for the mayor said: “The mayor has survived his first zip wire experience relatively unscathed.
“Clearly the judges are likely to have marked the mayor down for artistic impression, and unlike team GB, the mayor may not be winning too many Gold medals today.
“He does however remain unbowed.”
British Prime Minister David Cameron said London was “lucky to have” Boris Johnson as mayor.
David Cameron said: “If any other politician got stuck on a zip wire it would be disastrous.
“With Boris it’s a triumph… London is lucky to have him.”
tPEbjdyAktwImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…