# Emergency Withdraw

If something happens to POKERDEFI's frontend such as a DDOS attack or a temporary outage, farmers can still withdraw their tokens by direct interaction with the MasterChef contract.

Call the emergencyWithdraw function with the farm or pool id listed below to withdraw your staked tokens.

### How to Do It

*Go to MasterChef:* \
[*https://www.bscscan.com/address/0x4debab03731a326c04f69621c3de3e1bc0b34ff8*](https://www.bscscan.com/address/0x4debab03731a326c04f69621c3de3e1bc0b34ff8)

*Do an emergency withdrawal (Connect to Web3)*

![](https://3821890255-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McBkhVppF-IJzVXvstT%2F-McGlyfOUOw33y3x3CwP%2F-McGpGWnimDjFpdIDh1J%2F1.png?alt=media\&token=85a9ce66-dd21-4ec4-a5cc-66ef9f6b947e)

*Goto 4. emergencyWithdraw -> enter the pool ID that you want to withdraw*[ ](https://bscscan.com/address/0xf1530E2826920847Ba3Eaf9f60101Bf557332E67)*and cick on the **Write** button*

![](https://3821890255-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-McBkhVppF-IJzVXvstT%2F-McGlyfOUOw33y3x3CwP%2F-McGpKGy_xw3Svqv4Wfo%2F2.png?alt=media\&token=bb88c1b2-6b27-4cde-a8b5-314bbf612296)

{% hint style="danger" %}
Withdraw without caring about rewards. EMERGENCY ONLY.\
You will lose the rewards if you make an emergency withdrawal.
{% endhint %}

**List Farms/Pools ID**

| Pools/Farms ID | Tokens/LP Tokens |
| -------------- | ---------------- |
| 0              | USDC-BUSD        |
| 1              | USDT-BUSD        |
| 2              | DAI-BUSD         |
| 3              | DAI-USDC         |
| 4              | PKER             |
| 5              | BUSD             |
| 6              | WBNB             |
| 7              | PKER-BUSD        |
| 8              | PKER-BNB         |
