---
tag: g080
title: Cancel Current Motion Mode
brief: Cancel the current motion mode
author: shitcreek

group: motion
requires: GCODE_MOTION_MODES

codes: [ G80 ]

example:
- pre: 'Cancel motion mode G1'
  code:
  - G0 ; sets motion mode to G0
  - X10 Y10 ; moves to X10 Y10 in motion mode G0
  - G80 ; cancels the current motion mode
  - X20 Y20 ; returns unknown command

---

Cancels the current motion mode (G0 G1 G2 G3 G5 G38.X). With `GCODE_MOTION_MODES` enabled, Marlin will remember the last used motion mode which can then be canceled with `G80`.
