# How to Remove Liquidity

Retrieve your funds and any earned fees by removing liquidity:

1\. Access the AYIN DEX

• Navigate to the “Pools” section of the platform.<br>

2\. Select Your Position

• Locate the CL pool where you’ve provided liquidity and select your active position.<br>

3\. Click “Remove Liquidity”

• Choose the “Remove Liquidity” option.<br>

4\. Specify the Amount to Remove

• Decide how much liquidity to withdraw (a percentage or the full amount).<br>

5\. Approve and Confirm

• Approve the transaction in your wallet and confirm the removal.<br>

6\. Receive Tokens

• After the transaction is confirmed, your tokens (and any earned fees) will be sent back to your wallet.


---

# 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.ayin.app/ayin/ayin-metadex/how-to-remove-liquidity.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.
