Pause execution of the OpMode via halt() and safe shut down all hardware via safeHaltHardware().
halt()
safeHaltHardware()