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
A bungling robber who left his phone at crime scene has been jailed for more than three years.
Four police officers set to face misconduct hearings after a Jury in the Henry Hicks inquest returned a narrative verdict.
A British passport spoof 'have to take safety precautions when leaving house' video has hit 650,000 views on Facebook.