> ## Documentation Index
> Fetch the complete documentation index at: https://ionet-cca8037f-uc-362-deprecate-ray.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-uc-362-deprecate-ray/31P-gQKVJeGbkvyZ/images/docs/b89e3eee5bc8e7c4a752baa9ece8099c687a387c60f2345c75b995134f6c6f4b-Staking_2.0_Solo_13.png?fit=max&auto=format&n=31P-gQKVJeGbkvyZ&q=85&s=002d4369e4e4b1caac4085ed5237c3fd" 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-uc-362-deprecate-ray/2zOirU1Ahl6P_GvT/images/docs/277ca47de1bb16bb745a5bd690efd3e67dc55818417a10c99d0d3016d656b5b2-Staking_2.0_Solo_14.png?fit=max&auto=format&n=2zOirU1Ahl6P_GvT&q=85&s=005600113f7a363adaa2e5a2c02734f0" 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-uc-362-deprecate-ray/XoD3of6IzHuYzaA1/images/docs/43970e31d76b7de6545c94a165b26ba436a5b2dd96d2c0d9c4a2d36f2095829b-Staking_2.0_Solo_15.png?fit=max&auto=format&n=XoD3of6IzHuYzaA1&q=85&s=6f046cff2cebc2e1affcb11f8182bdf5" 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-uc-362-deprecate-ray/2zOirU1Ahl6P_GvT/images/docs/2dc38d8009dacbd41364fb55fa244313f1534c84ad76d6ad3804d45e8fe8ad18-Staking_2.0_Solo_16.png?fit=max&auto=format&n=2zOirU1Ahl6P_GvT&q=85&s=1192b56dcd591c5f92a961649788743c" 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-uc-362-deprecate-ray/XoD3of6IzHuYzaA1/images/docs/39483fc1f3e1d3d993b21448ea57cd5d5095480fff0f9050e45c0704a47262fe-Staking_2.0_Solo_17.png?fit=max&auto=format&n=XoD3of6IzHuYzaA1&q=85&s=7d1b20bdd7e3bfcbdfc84adf1a580f43" 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-uc-362-deprecate-ray/PczaSwwFKDUYcwZm/images/docs/fd435221be8f0d19ea4a8d4a361f18131de6a42fa36c3c35779c03d7b2f0a84f-Staking_2.0_Solo_18.png?fit=max&auto=format&n=PczaSwwFKDUYcwZm&q=85&s=4b72d911c4e61bce1d58f041b63dc16d" 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>
