> For the complete documentation index, see [llms.txt](https://pulsarfarm.gitbook.io/beta-pulsar-farm/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/beta-pulsar-farm/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 <br>

(2) Connect to Web3

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

![](https://2867548014-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M_uBtLC5l1-AHTsxGiQ%2F-MaFtXEoFWSZGJG49vzS%2F-MaG1_NlDYG8AXUJX4fd%2Fimage.png?alt=media\&token=fb158fc7-c597-4ec7-9ec4-7bc442e7fa2a)

Pid 22 - BNT/BPUL\
Pid 23 - BNT/BUSD

Pid 24 - BNT
