Take a navigator with you. This has the number to the ship's agent in it if you are going to be delayed getting back to the ship. They can retrieve your passport from your room safe if they are not able to have the ship wait for you.
Now this is good advice! So you can keep your passport secured on the ship and not have to worry about them leaving with your passport. Good post!