The common sense answer would be to work with your command to create a buffer time between the end of your contract and the start of your orders.
if you want to go about it from a technical standpoint though inform the master AND the office both IN WRITING that you had orders coming up and invoke USERRA, which reserves your rights to go on orders AND be re-employed if applicable. Trust me they will get you off the ship.