To be under hatches

to be confined below in a vessel; to be under arrest, or in slavery, distress, etc.

See also: Hatch