> For the complete documentation index, see [llms.txt](https://docs.aftermath.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aftermath.finance/farms/tutorials/unstaking.md). Agents can also search and read this documentation through its [MCP server](https://docs.aftermath.finance/~gitbook/mcp).

# Unstaking

To unstake, open the farm to see your positions and their actions. If you have multiple farming positions, you can view them all in your Portfolio. See the [Viewing your Portfolio: Farms](https://docs.aftermath.finance/getting-started/navigating-aftermath/viewing-your-portfolio.md) section of the documents for more information.

Open the actions menu (**...**) next to a position and click **Unstake**.

<figure><img src="https://3284144787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmeKfXaQnIP3bbI1AdlVX%2Fuploads%2FEFShhitXBOdbHWCvvYhL%2FScreenshot%202025-02-24%20at%2010.26.19%E2%80%AFAM.png?alt=media&amp;token=2de2f7d6-29cd-4227-b0d5-e97660df9671" alt=""><figcaption></figcaption></figure>

**Unstake** appears once a position is unlocked. While a position is still locked, the menu shows **Extend Lock** instead. The lock end is shown in the position's status.

<figure><img src="https://3284144787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmeKfXaQnIP3bbI1AdlVX%2Fuploads%2FnwvQzVdz7xBVB1OuVC3g%2FScreenshot%202025-02-24%20at%2010.26.50%E2%80%AFAM.png?alt=media&amp;token=88e87886-d7d8-4356-8205-429e7cc16a59" alt="" width="371"><figcaption></figcaption></figure>

In the Unstake dialog, type an amount or use the slider. To unstake part of a position, click **Withdraw**. The rest stays staked, and it must stay at or above the farm's minimum stake. To unstake everything, withdraw the full amount and click **Unstake All & Close**. This closes the position and claims its remaining rewards, so your stake coins and rewards are transferred to your wallet. You can also pick a different coin to receive instead of the stake coin.

To unstake several unlocked positions at once, click **Manage**, select the positions, and click **Unstake**. Pending rewards are claimed automatically.

After unstaking an LP coin, you can withdraw your liquidity from the underlying Pool.
