# 5. Quit Operator and Withdraw Funds

### Quit Operator role

If you want to permanently quit, you need to click the Setting button, and click the "Quit Operator" button at the bottom.

<figure><img src="/files/ZqTQgBfQW7n9RKqdFXQt" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tmNfAjNdKCOtzkA3rLqz" alt=""><figcaption></figcaption></figure>

A pop up will show up asking for your confirmation. Click "Confirm" to officially quit the Operator role. The app will finish all the remaining transactions and unstake your security deposit.

<figure><img src="/files/cCeIzcrlPrua7FpBSZOZ" alt=""><figcaption></figcaption></figure>

### Withdraw funds

After you quit the Operator role, you can now withdraw your security deposit and your funds to an address you assigned. Click the **-** button to transfer all your funds.

<figure><img src="/files/at0OtqkHrumw2u6Mpttc" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/B0eeudxegBsEQx0GllMp" alt=""><figcaption></figcaption></figure>


---

# 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://docs.fiammalabs.io/our-product-suite/pragmatically-trustless-bitvm-bitcoin-bridge/user-guides/testnet-beta/how-to-run-the-fiamma-operator/operator-for-mac/5.-quit-operator-and-withdraw-funds.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.
