Firefighters based at the fire station nearby had heard shouting in the street and went out to investigate, where they were confronted and threatened by the man.
The 26-year-old suspect remained hostile and struck the window of one of the first police cars when they arrived.
Eyewitness Jenilee Graham said she was unaware there was a situation developing until a woman stopped her and told her to get away.
The 23-year-old City worker, from south London, said:
"I was coming back from Asda with my mum when we saw a woman who told us to stop where we were going. We didn't know what was happening, but then we saw the man who the woman was talking about pop out from behind a bus. He ran towards us, then he darted down a side street. It was obviously pretty scary."
More top news
Mayor of Newham Sir Robin Wales criticised the International Olympic Committee on the fourth anniversary of the opening ceremony.
If you're missing the euphoria of London 2012 here's your chance to own a real piece of Olympic history.
Her owners were convinced she was gone for good and were shocked when a Parisian cat rescue centre got in touch.