# UNDO Command
[GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [U](%28U%29.md)
**Function Description:**
> Reverse the effect of Command
**Command Entry:**
> UNDO
**Command Prompt:**
> Undo: \[Mark/Back to mark/BEgin set/End set/Control/Auto\]\<Number of steps to undo\>:
>
> **Number of steps to undo**
>
> Undo the specified number of preceding operation. The effect is the same as entering u multiple times.
>
> **Auto**
>
> Groups the actions of a single Command, making them reversible by a single [U](../../Source%20Issues.md#issue-7720c9fbfd9acd90) Command. When the Auto option is on, starting a Command groups all actions until you exit that Command. You can undo the group of actions as if it were one action.
>
> UNDO Auto is not available if the Control option has turned off or limited the UNDO feature.
>
> \[OFF/ON\]\<ON\>:
>
> **Control**
>
> Limit or turn off UNDO.
>
> Set Undo control: \[None/One/All\]\<All\>:
>
> All
>
> Turn on the full UNDO Command.
>
> None
>
> Turn off the U and UNDO Commands and discards any UNDO Command information saved earlier in the editing session.
>
> One
>
> Limit UNDO to a single operation.
>
> **End set**
>
> End a group.
>
> **Begin set**
>
> Group a sequence of actions into a set.
>
> **Back to mark**
>
> Back undoes all the work done back to this mark. If you undo one operation at a time, you are informed when you reach the mark.
>
> **Mark**
>
> Mark places a mark in the undo information.
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/U/UNDO%20Command--ee547dd5d3cd.md)