Kyle Ravenscroft, 18, hid under the bed of his 16-year-old victim for an entire night, and threatened to hang himself outside her bedroom window, Chester Magistrates' Court heard.