Compact emergency stop button for industrial machines