However, as the fog pours from the device attached to the ceiling the man leaps over the counter but soon jumps back when he can't open what appears to be the till.
Undeterred, he again jumps the counter where the area is now filled with a huge cloud of white fog. Eventually he runs out empty handed.
The whole incident took 31 seconds and police say the fog cannon prevented another robbery from happening.
"A great prevention tool," police said in the Facebook post.
A man has appeared in Kaikohe District Court on a charge of assault with intent to rob. He was remanded in custody and next appears by an audio visual link on October 1.
A worker, who was in the Kaikohe Discounter, said he was restocking the fridge with drinks when a man entered the business.
He managed to alert his co-worker who was taking a break in the back and she activated the cannon.
It was a person out on the street who rang police after spotting what they thought was smoke billowing from the front door of the shop.
"A customer thought it was on fire and rang the fire brigade and then the police," the worker said.
Fog cannons are machines that release dense fog when triggered.
Only seconds after a cannon is activated a robber or burglar is blinded and confused, cannot see and will usually retreat immediately as they don't want to get caught in the fog.
The non-violent but explosive action will create a barrier between staff, goods and offenders.
The white fog is breathable and harmless to humans, animals, electronics and fixtures.
It is not the first time Kaikohe Discounter has been targeted by thieves. In October last year two youths entered Kaikohe Discounter and confronted two young men working behind the counter.
They were quickly followed by two more offenders, one of whom had a red bandanna across his face. One youth used what appeared to be a crowbar to threaten one of the shop workers.
Two others brutally assaulted the shop assistants while a fourth raided the till and the cigarette cabinet.