A would-be robber wielding a machete was thwarted Friday by a bar patron who fought off the man using a bar stool and a potted plant, video shows.

>> Read more trending news

A masked man walked into Mermaid Beach Tavern around 1 a.m., carrying a machete, and demanded $1,500 from the bartender, the Australian Associated Press reported.

The customer can be seen in the video sneaking up behind the suspect before hitting him with a bar stool. He also fought off the man using a potted plant, video shows.

The man, 29, then chased the robber out of the bar. The man tackled him outside and the robber dropped the money before fleeing. He remains at large.

"I think it was very much a spur of the moment (thing), a reflex action by him. It's very courageous," Detective Acting Senior Sgt. Dane Sheraton told the Australian Associated Press.

The patron and bartender were not injured in the skirmish, police said.