--- tag: m0022 title: Release SD card brief: Simulate ejection of the SD card author: thinkyhead requires: SDSUPPORT group: sdcard codes: [ M22 ] notes: - Requires [`SDSUPPORT`](/docs/configuration/configuration.html#sd-card) parameters: examples: --- If Marlin gets confused about the state of the SD card, this command can be used to simulate an ejection of the SD card. Re-insert the SD card or use [`M21`](/docs/gcode/M021.html) to enable the SD card following [`M22`](/docs/gcode/M022.html).