A man accused of threatening to kill his ex-partner allegedly locked her in a bedroom for 38 hours, the High Court heard this week.
Michael Cawley forced the woman upstairs after arriving at her Co Tyrone home and refusing to leave, it was claimed.
The 41-year-old, of no fixed address, was granted bail but banned from entering Cookstown.
Cawley currently only faces charges of threats to kill and common assault over the alleged incident two weeks ago.
The court heard he entered the woman’s home in the town early on July 14.
She claims he issued threats, pulled her by the arm and then locked her in a child’s bedroom, according to the prosecution.
It was alleged that the woman was only released when her children arrived the following evening.
Counsel for the prosecution told the court: “She said from 6am on July 14 to 8pm on July 15, for 38 hours to be precise, she was locked in this bedroom.”
No false imprisonment charges have been brought at this stage, he added.
Police arrived when a panic alarm installed in the house was activated the following morning.
It was accepted that the woman suffered no physical injuries.
Her claims are also not backed by any other witness accounts.
Granting bail, Mr Justice McCloskey ordered Cawley to live at an address in Aughnacloy, Co Tyrone.
The judge added: “He will not make any attempt to contact the injured party by any means, and he will be excluded from Cookstown.”