# 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://polygonscan.com/address/0x9dcb2d5e7b5212faf98e4a152827fd76bd55f68b)
2. Connect your Web3 Wallet to the website

![](https://3622251397-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McpRA3wdSXX1yuIkRzx%2F-Mcpd5RL9E6y4bkWm-GG%2F-Mcpdw-sCPZRYFagYoKo%2FScreen%20Shot%202021-06-12%20at%201.53.19%20PM.png?alt=media\&token=e84c05dd-8863-4482-96d7-124774d18452)

3\. Scroll down to emergencyWithdraw function

![](https://3622251397-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McpRA3wdSXX1yuIkRzx%2F-Mcpd5RL9E6y4bkWm-GG%2F-Mcpe9OlmWRazM7TMD3D%2FScreen%20Shot%202021-06-12%20at%201.55.28%20PM.png?alt=media\&token=0574809e-8b4f-440a-b31b-9cf4c86e449b)

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