---
url: /relyai-acellemail/uninstalling.md
description: >-
  How to deactivate RelyAI reversibly (keeping your data) or delete it
  completely — including exactly which tables are dropped when you remove all
  data.
---

# Uninstalling

RelyAI provides two removal options:

* **Deactivate (Reversible):** Hides all AI surfaces while preserving database configurations and history.
* **Delete (Permanent):** Removes plugin files and permanently drops all RelyAI database tables.

## Deactivate (reversible)

Deactivating via **Admin → Plugins** preserves all settings, engine keys, feature flags, conversations, and audit records:

* **UI changes:** The **RelyAI** sidebar group, chatbox, rewrite popovers, and coaches are hidden.
* **Data safety:** All database records remain intact.
* **Reactivation:** Re-enable the plugin at any time to restore full functionality without reconfiguration.

## Remove all data (irreversible)

Choosing **Delete** in **Admin → Plugins** removes the plugin files and **drops its `ai_*`
tables**. That permanently erases:

* your **engines** and **settings**,
* your **feature flags**,
* every **conversation** and its **messages**,
* the **tool-call audit** trail,
* all **feedback**,
* the **usage/request history**, and
* the agent **undo records**.

::: danger Permanent deletion
Dropping `ai_*` tables permanently removes all stored data.

* **Snapshots exclude history:** Pre-update snapshots do not preserve AI conversations or audit logs.
* **Export data:** Export required records from Observability surfaces prior to deletion.
  :::

If you only want to stop RelyAI for now, use **Deactivate** above instead — it keeps everything.

## Related pages

* [Backup and restore](/relyai-acellemail/backup-and-restore) — export before you delete
* [Observability](/relyai-acellemail/features/observability) — where to export conversations and audit data
* [Installation](/relyai-acellemail/installation) — how to bring RelyAI back
* [Troubleshooting](/relyai-acellemail/troubleshooting) — if something misbehaves before you remove it
