Then, when he failed, the man must have sneaked into the shed, and hidden himself in the ship.