1 verses of the Young's Literal Translation have both "shut" and "themselves".
Job 24:16 He hath dug in the darkness--houses; By day they shut themselves up, They have not known light.
In other translations: WEB ASV Darby DRC