As it turns out, the Molemen are neglecting their duty to maintain the core temperature in order to prepare for a mass exodus onto the surface world. After Dr Morag explains their plot to create fake hands for all Molemen, The Geek calls. Sam & Max then sabotage the assembly line and ruin the plot, somehow cooling the core back down in the process. The Molemen then rush in to attack them. They can easily hold off most of them, but not Morag.
But just when they're about to be thrown into the magma, Icky suddenly came with group of Mole Women. This means the Molemen no longer want to go to the surface, and Sam & Max can leave quietly.