The figurative meaning of the idiom Hit the hay is to go to bed and get some sleep.