The average density of the ship, including the air within it, is lower than that of water, and so the upward force is greater than the one drawing it to the bottom of the ocean, and so the boat ...