Automatic motor stop system for energy efficiency and safety.