If you're caught while still out at sea–within 3 and 12 miles–the Coast Guard can come and pick you up. But if you're far out at sea, you can be apprehended by onboard cruise police and put in the brig where you'll be held until you're released to authorities at the nearest port.