# 3. Pause and Quit

If an operator wants to stop receiving new tasks, the operator can execute the following command to pause receiving new pegin and pegout tasks, but will continue to finish already received tasks.

```
./bcli operator -n mainnet pause
```

\
To resume and start processing new tasks, execute the following command:

```
./bcli operator -n mainnet resume
```

\
If you want to permanently quit the operator role, execute the following command to submit a quit operator request. This process may take a while. **Keep the Fiamma Operator running** to complete all pending pegin and pegout tasks. Once the bridge confirms that all pending pegin and pegout tasks are completed, it will automatically broadcast the operator’s unstake transaction.

```
./bcli operator -n mainnet unstake -a <MAIN_ADDRESS>
```

\
When the operator's status changes to `Inactive`, you can withdraw all funds from the three addresses to an address you assign:

```
./bcli operator -n mainnet collect-utxos -r <RECEIVER_ADDRESS>
```

> ⚠️ **Important**: Do not execute the `collect-utxos` command while the operator is still active. This command should only be used after the operator has been fully deactivated and all pending tasks have been completed.


---

# 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/mainnet/fiamma-operator/3.-maintenance/3.-pause-and-quit.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.
