> For the complete documentation index, see [llms.txt](https://docs.monopoly.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.monopoly.finance/monopoly-layer-2-duo/security/emergency-withdraw.md).

# Emergency Withdraw

## Guide to Emergency Withdraw

This guide will help you emergency withdraw your funds from any yield farm. When the UI is down on a Yield Farm, due to a technical issue, you can still withdraw your funds by interacting directly with the Masterchef contract on Arbiscan.com.

1. Navigate to the MasterChef contract&#x20;

Monopoly Masterchef on Arbiscan [here](https://arbiscan.io/address/0x72E4CcEe48fB8FEf18D99aF2965Ce6d06D55C8ba#writeContract)

&#x20;   2\. Connect your Web3 Wallet to the website

<figure><img src="https://1660576504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F265EBDDL9r5c10GP7KhH%2Fuploads%2FBxVYGtXygBNxaNV9iSBA%2Fimage.png?alt=media&amp;token=b8435632-cabf-4e40-8381-a22405ea726b" alt=""><figcaption></figcaption></figure>

&#x20;   3\. Scroll down to 3. emergencyWithdraw function

<figure><img src="https://1660576504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F265EBDDL9r5c10GP7KhH%2Fuploads%2FFOXwtmwISsVMBN8E45i1%2Fimage.png?alt=media&amp;token=b60d4d0b-6ceb-46b6-b832-c71bd102bae6" alt=""><figcaption></figcaption></figure>

4\. Enter the PID and your wallet addres of the pool you were in. A number between 0-14. You can view the pools by navigating to the Read Contract tab and going through the 14. poolInfo function with the PID 0-14 and your address. Once you find your pool submit the transaction.

{% hint style="success" %}
Please find PID for [**Farms**](/monopoly-layer-2-duo/products/farms.md) and [**Pools**](/monopoly-layer-2-duo/products/pools.md) here
{% endhint %}
