when he had the mast stepped and the sails mounted , he hopped out of the boat , checked through a lower window to make sure no one was out on the wharf , then used a mallet to knock the chock out from under the rollers beneath the ship .