I spoke with the cruise line and once you've checked in, you can't leave the ship. We were planning on checking in then going back out, but no such luck! I read that there is a luggage place close to the train station in Trieste, so we are going to drop our bags there and then look around prior to checking in.