> For the complete documentation index, see [llms.txt](https://pulsarfarm.gitbook.io/gamma-polypulsar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pulsarfarm.gitbook.io/gamma-polypulsar/security/emergency-withdraw.md).

# Emergency Withdraw

If something happens to Pulsar Farm's frontend because of a DDOS attack, farmers can still withdraw their tokens by direct interaction with the MasterChef contract.&#x20;

If you want to use this function, (1) go to \
<https://polygonscan.com/address/0xA375495919205251a05f3B259B4D3cc30a4d3ED5#writeContract>

(2) Connect to Web3

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

pid 0: GPUL-MATIC LP&#x20;

pid 1: GBNT-MATIC LP&#x20;

pid 2: GPUL-GBNT LP&#x20;

pid 3: GPUL&#x20;

pid 4: GBNT&#x20;

pid 5: WMATIC&#x20;

pid 6: WETH&#x20;

pid 7: WBTC&#x20;

pid 8: DAI

pid 9: USDC&#x20;

pid 10: USDT&#x20;

pid 11: POLYDOGE&#x20;

pid 13: PAW
