# Going back to a previous version of a document

Every now and then, a mistake is introduced into a document and we need to return to a previous version of it. This page describes how to do that.

{% hint style="info" %}
Pro tip:

If you're busy editing and something goes horribly wrong when you hit Update, just refresh the page to return to the last saved version of the document.&#x20;

Any other unsaved changes will also be lost — another reason to save often 😉
{% endhint %}

If you have already saved and want to return to a previously saved version of a document:

1. Open the 'Changes' panel.
2. Select the version you want to return to.&#x20;
   * Note: The changes shown for each version are the differences between the previous saved version and that one.
3. Click 'Restore this version' and confirm.

{% hint style="warning" %}
Any unsaved changes, as well as any changes saved after the version you are restoring to, will be discarded.
{% endhint %}

<figure><img src="/files/19GEItc5exsUizpyLvIC" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/g9ihABXP22TLMuvlceAy" alt=""><figcaption></figcaption></figure>


---

# 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://docs.laws.africa/how-tos/documents-and-document-settings/going-back-to-a-previous-version-of-a-document.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.
