> For the complete documentation index, see [llms.txt](https://docs.artinals.com/artinals-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.artinals.com/artinals-protocol/trade-module/functions-and-entry-points/emergency-operations-and-recovery.md).

# Emergency Operations and Recovery

**`emergency_pause(...)`**, **`resume_after_emergency(...)`**, **`emergency_withdraw(...)`**\
**Purpose**: Protect liquidity and user funds in case of bugs, exploits, or other unforeseen issues.\
**Process**:

* Temporarily deactivate trading or liquidity changes.
* Allow the pool owner to remove NFTs and tokens if necessary to prevent losses.
* Ensure these operations are restricted to authorized addresses and subject to cooldowns.

**Use Cases**:

* Responding to a smart contract vulnerability or market anomaly.
* Providing user confidence in the event of unexpected problems.

**Best Practices**:

* Use emergency features sparingly and transparently.
* Communicate with users when pausing and resuming pool activities.
