--- tag: m0999 title: STOP Restart brief: Return the machine to Running state author: thinkyhead group: control codes: [ M999 ] notes: parameters: - tag: S description: Resume without flushing the command buffer. The default behavior is to flush the serial buffer and request a resend to the host starting on the last `N` line received. values: - type: bool examples: - pre: Restart the machine code: M999 --- If a **STOP** occurs you can use [`M999`](/docs/gcode/M999.html) to restart the "stopped" machine after resolving the issue. Marlin will call **STOP** if any error occurs that would make continuing the current process problematic. For example, if the probe fails to deploy, it will abort probing and STOP. Note that this disables all heaters.