He hides in a storage compartment and isn’t found until the ship is already launched.
Stowaway to the Moon (1975)
That’s the one! Thanx!