Jail on a ship (4)
I believe the answer is:
brig
(Other definitions for brig that I've seen before include "Two-masted square-rigged sailing ship" , "Sailing-vessel" , "Two-masted square-rigged vessel" , "'Two-masted,square-rigged ship (4)'" , "Two-masted ship; gaol" .)