> For the complete documentation index, see [llms.txt](https://docs.motif.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.motif.finance/user-guide-bitdsm-testnet/how-to-redeem-dtp/undelegate.md).

# Undelegate

If you have delegated funds in a BOD you own to an App and you want to delegate them to another App, or to withdraw the funds altogether, follow these steps:

1. Connect using the same wallet that was used to create the BOD as the request can only be initiated by the BOD owner
2. Go to the “Staked Assets” tab in the “My Stakes” Dashboard, and find the section “Delegated BODs”
3. Check to see that there are available BODs and click on the “Undelegate” button

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

4. Check the message presented by the App and sign the transaction

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

5. Once the Undelegation has been completed, the “Pending Unlocking” column in the dashboard should show a zero balance

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

6. You are now free to either 1) Remap the BOD to another App OR 2) Initiate a Withdraw Request

Note: Before undelegating a BOD, please check the “Pending Unlocking” column to make sure there isn’t already a undelegation request. Also the delegated App could have placed a lock on the BOD, and an attempt to undelegate without clearing that lock will likely result in failure (ex. you have liquid token that was not returned to the App). If you receive an error message, read the message carefully and resolve any issue with the App maker.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.motif.finance/user-guide-bitdsm-testnet/how-to-redeem-dtp/undelegate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
