---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://www.yandex.com/support/direct-commander-new/en/editing/undo.md
  - https://www.yandex.com/support/direct-commander-new/ru/editing/undo.md
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.com/support/direct-commander-new/en/llms.txt

# How to cancel edits

To undo the last action, press **Ctrl** + **Z** (on MacOS, **Cmd ⌘** + **Z**).

To redo an undone action, press **Ctrl** + **Y** (on MacOS, **Cmd ⌘** +**Shift**+ **Z**).

Data editing in the Inspector is considered a single action, even if you have edited multiple fields, so one click on the **Save** button is considered one action.

To cancel unsaved changes in the Inspector, click **Cancel** at the bottom of the Inspector.

Copy/move and paste are considered a single action, even if you have copied multiple objects.

Find and replace are considered a single action.


{% note tip %}

You can completely undo all the changes that haven't been uploaded to the server: for the campaign, its child ad groups, ads, and keywords. To do this, [download](https://www.yandex.com/support/direct-commander-new/en/general/download.md#sync-campaign) the campaign data from the server and select the **Download and cancel changes in Direct Commander** option.

{% endnote %}

<!-- source: en/_includes/footer.md -->
<div width="100%" align="center"> 
<br><br><br>
You can also go to 
<br>



[![](https://yastatic.net/s3/doc-binary/src/support/direct-commander-new/ru/files/log-commander-en.svg)](https://yandex.com/project/commander/new)


</div>

<!--  -->
<!-- endsource: en/_includes/footer.md -->

<!-- source: en/_includes/remove-voting-style.md -->

<!-- endsource: en/_includes/remove-voting-style.md -->
