A lunatic asylum, workhouse, or similar institution.
A small hatchway in the deck of a ship.
An insane asylum.