Police allege a Maryborough man stole protein bars after tasering a man in an armed robbery.
The Bendigo Magistrates' Court heard the allegations against Christian Sales when he applied for bail this week.
Detective Senior Constable Samuel Fary told the court the victim attended Mr Sales' Albert Street home about 4pm on October 12 to sell him protein bars, but Mr Sales' mother told him her son was not home and to return after 6pm.
The man returned to the house about 8pm and was allegedly confronted by Mr Sales.
More court news: Cannabis grower to spend more time in jail
He was allegedly angry and abused the man for overcharging him in previous purchases of protein bars.
The victim reported he was wearing a belt with a large hunting knife and what appeared to be a black torch.
The court heard the victim offered Mr Sales a couple of boxes of bars in an attempt to de-escalate the situation, but Mr Sales allegedly demanded all the boxes.
It was alleged Mr Sales threatened to track down the man and kill him and his family.
He then allegedly took what the victim had thought was a torch and shocked him, which caused the man to collapse against his vehicle.
Mr Sales was accused of throwing fake punches at the victim and trying to hit him with his forearm.
He then allegedly ordered the victim to unload the 14 boxes of protein bars from the vehicle, while standing behind him zapping the taser.
Mr Sales was alleged to have walked the man to the house, holding the taser to his back, and made the him apologise to his mother.
After leaving Mr Sales' house, the victim reported the alleged incident to police.
Police raided Mr Sales' address and found the boxes of protein bars outside.
In Mr Sales' room, Detective Senior Constable Fary said, they found green vegetable matter believed to be cannabis, an unknown powder, three shotgun shells, a belt with a hunting knife, and a black taser torch.
The detective told the court Mr Sales made no admission to the alleged offending and was adamant he had been overpaying for protein bars.
Detective Senior Constable Fary opposed Mr Sales' release on bail and said he was concerned about Mr Sales' mental state.
More court news: Eaglehawk cannabis crop part of larger syndicate, police believe
He also said the victim was "genuinely terrified" Mr Sales would follow through on his alleged threats.
Mr Sales' lawyer told the court her client's mental health had stabilised, he had supportive parents, and stable accommodation.
It was submitted Mr Sales faced an "inordinate" delay.
But the prosecution submitted there was no report that gave an indication as to the state of Mr Sales' mental health, and if found guilty, he faced a longer period of imprisonment than he would spent in custody.
Magistrate Rodney Higgins found there were compelling reasons to grant Mr Sales bail, but there were still unacceptable risks associated with doing so.
Mr Higgins said he was not convinced there were appropriate supports in place for Mr Sales.
He will return to the matter later this month, after Mr Sales undergoes assessment for a program that supports people on bail.
Have you signed up to the Bendigo Advertiser's daily newsletter and breaking news emails? You can register below and make sure you are up to date with everything that's happening in central Victoria.