A court heard the day after he was released he was arrested on suspicion of two counts of breaching a restraining order by contacting an ex-partner and one of assaulting her.