# \[Marlin] M005 - Laser Off

{% hint style="success" %}
**📅Update: 2020/09/18**
{% endhint %}

## Description

Wait for moves to complete, then turn off the spindle / laser power and PWM.

## Notes

* 'With `LASER_MOVE_G0_OFF` and `LASER_MOVER_G28_OFF` enabled, [`G0`](https://app.gitbook.com/docs/gcode/G000-G001.html) and [`G28`](https://app.gitbook.com/docs/gcode/G028.html) will also turn the laser off'

## Usage

`M5`

## Examples

pre: Turn off the spindle or laser

```
M5
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.rotrics.com/gcode/marlin-original-commands/marlin-m005-laser-off.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
