How to use "confined" in a sentence

Sentences

They're allowed to go into Reno for shore leave between cruises, but for long stretches of time, they're confined to this 'ship.'"