> For the complete documentation index, see [llms.txt](https://honeyfarm.gitbook.io/honeyfarm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://honeyfarm.gitbook.io/honeyfarm/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 polygonscan.com.

1. Navigate to the MasterChef contract [here](https://bscscan.com/address/0x09Bfd9BEA89db8a0Cc1bFB5b3e0c39c84E7F38B5)
2. Connect your Web3 Wallet to the website

![](/files/-Mf1eB-Wi0lLL1Xef7Se)

3\. Scroll down to 3. emergencyWithdraw function

![](/files/-MfqlIGBhQk0Xd7bD6cr)

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