> ## Documentation Index
> Fetch the complete documentation index at: https://ionet-cca8037f-confidential-compute.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Deleting, Unstaking & Withdrawing

> Co-Staking operates as a smart contract on the blockchain, allowing device owners to invite co-stakers to contribute to their stake in exchange for a share of block rewards.

## Table of Contents

* [Deleting a Co-Staking Offer](/guides/staking/unstaking-deleting-withdrawing#deleting-a-co-staking-offer)
* [Unstaking](/guides/staking/unstaking-deleting-withdrawing#unstaking)
* [Withdrawing Overflow](/guides/staking/unstaking-deleting-withdrawing#withdrawing-overflow)

### Deleting a Co-Staking Offer

* If you unstake part of your contribution while co-staked, you are **not** subject to a cooldown period.
* If a co-staker cancels their stake, you have **7 days** to cover the remaining portion or create a new co-staking offer.
* During this **7-day period**, your device continues fulfilling staking requirements for block reward eligibility.

<Info>
  Your device must still meet all other criteria.
</Info>

**Steps to Delete a Co-Staking Offer**:

1. Go to the **Manage Your Stake & Devices** block, where all your staking devices are listed, and click the three dots next to the desired device.

2. Select **Delete a Co-Staking Offer** from the dropdown list.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f-confidential-compute/S0bJzmXgXRKpCYk0/images/docs/b89e3eee5bc8e7c4a752baa9ece8099c687a387c60f2345c75b995134f6c6f4b-Staking_2.0_Solo_13.png?fit=max&auto=format&n=S0bJzmXgXRKpCYk0&q=85&s=646f1860842a40514f85d551f7600c95" alt="" width="1384" height="1349" data-path="images/docs/b89e3eee5bc8e7c4a752baa9ece8099c687a387c60f2345c75b995134f6c6f4b-Staking_2.0_Solo_13.png" />
   </Frame>

3. In the pop-up, confirm by clicking the **Retract My Co-Staking Offer** button to complete the process.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f-confidential-compute/_dY4sLQzQ70G_TM4/images/docs/277ca47de1bb16bb745a5bd690efd3e67dc55818417a10c99d0d3016d656b5b2-Staking_2.0_Solo_14.png?fit=max&auto=format&n=_dY4sLQzQ70G_TM4&q=85&s=79967ab5cdba6347fc40a9df6b6e7b94" alt="" width="1592" height="975" data-path="images/docs/277ca47de1bb16bb745a5bd690efd3e67dc55818417a10c99d0d3016d656b5b2-Staking_2.0_Solo_14.png" />
   </Frame>

**If you unstake first:**

* If your stake remains above the minimum requirement, there is no impact.
* If your stake **falls below the requirement**, the system automatically unstakes for the co-staker. In this case, all funds enter the **14-day cooldown period**.

### Unstaking

You can cancel a stake at any time.

* **Unstaking takes 14 days.**
* You must **unstake the entire amount**, which stops counting toward the **Minimum Required Stake** immediately.
* You **cannot** restake until the process is complete.
* Unstaking **is not available** for devices in **hired status.**

**How to Unstake Your Device:**

1. Go to the **Manage Your Stake & Devices** block, where all your staking devices are listed, and click the three dots next to the desired device.

2. Select **Unstake** from the dropdown list.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f-confidential-compute/KWX8hCYf56BucNn-/images/docs/43970e31d76b7de6545c94a165b26ba436a5b2dd96d2c0d9c4a2d36f2095829b-Staking_2.0_Solo_15.png?fit=max&auto=format&n=KWX8hCYf56BucNn-&q=85&s=ced4cf734852edbd7ed1b222fb6e6d13" alt="" width="1178" height="1218" data-path="images/docs/43970e31d76b7de6545c94a165b26ba436a5b2dd96d2c0d9c4a2d36f2095829b-Staking_2.0_Solo_15.png" />
   </Frame>

3. In the pop-up, confirm by clicking the **Unstake** button to complete the process.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f-confidential-compute/_dY4sLQzQ70G_TM4/images/docs/2dc38d8009dacbd41364fb55fa244313f1534c84ad76d6ad3804d45e8fe8ad18-Staking_2.0_Solo_16.png?fit=max&auto=format&n=_dY4sLQzQ70G_TM4&q=85&s=367b3548e08382071f849924bd416b06" alt="" width="874" height="1101" data-path="images/docs/2dc38d8009dacbd41364fb55fa244313f1534c84ad76d6ad3804d45e8fe8ad18-Staking_2.0_Solo_16.png" />
   </Frame>

   <Info>
     If an unfilled co-staking offer exists for the selected device, retract your offer before unstaking.
   </Info>

### Withdrawing Overflow

Overflow refers to funds exceeding your initial stake that can be withdrawn separately, while your original stake remains locked until the unstaking process is complete.

**How to Withdraw Overflow:**

1. Go to the **Manage Your Stake & Devices** section and select the **Co-Staked Devices** tab.

2. Find your device, click the ellipsis, and select **Withdraw Overflow** from the dropdown menu.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f-confidential-compute/KWX8hCYf56BucNn-/images/docs/39483fc1f3e1d3d993b21448ea57cd5d5095480fff0f9050e45c0704a47262fe-Staking_2.0_Solo_17.png?fit=max&auto=format&n=KWX8hCYf56BucNn-&q=85&s=d4e9fc4ce570e30e334f59b0cd218707" alt="" width="1101" height="1159" data-path="images/docs/39483fc1f3e1d3d993b21448ea57cd5d5095480fff0f9050e45c0704a47262fe-Staking_2.0_Solo_17.png" />
   </Frame>

3. To confirm, click **Withdraw Overflow**. You can only withdraw overflow funds, not the main staked amount.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f-confidential-compute/MNuf6kXmoHAgX-oq/images/docs/fd435221be8f0d19ea4a8d4a361f18131de6a42fa36c3c35779c03d7b2f0a84f-Staking_2.0_Solo_18.png?fit=max&auto=format&n=MNuf6kXmoHAgX-oq&q=85&s=63307600ac354a78b4072f2ea59239c9" alt="" width="1635" height="1397" data-path="images/docs/fd435221be8f0d19ea4a8d4a361f18131de6a42fa36c3c35779c03d7b2f0a84f-Staking_2.0_Solo_18.png" />
   </Frame>

<Info>
  You can only withdraw overflow funds, not the main staked amount.
</Info>
