# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pulsarfarm.gitbook.io/gamma-polypulsar/security/emergency-withdraw.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
