A man who threatened to break into his ex-girlfriend’s home and called her more than 200 times before abducting her has apologised in court.