there are several reasons why a machine may run after it apparently has been shut off. The machine can coast or it can cycle by gravity. The switch might also be bypassed by electrical wire, or the machine might cycle if air or hydraulic pressure lines have not been bled off.