if need be , the captain continues , when a great storm descends upon a ship , heaven forbid , and the ship is unable to make a safe harbor , all the sails are removed , and the ship runs under bare poles .