> For the complete documentation index, see [llms.txt](https://udonfi-1.gitbook.io/udonfi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://udonfi-1.gitbook.io/udonfi-docs/core-concepts/withdraw.md).

# Withdraw

When you've provided liquidity to a decentralized finance protocol like Udon Finance, withdrawing assets is the action of moving your supplied tokens, along with any accrued interest, back to your personal wallet.

Be aware of a couple of crucial considerations to ensure a smooth and secure withdrawal:

{% hint style="info" %}
Pool Liquidity Matters\
You can typically withdraw your assets whenever you desire, provided the liquidity pool has sufficient unborrowed assets to fulfill your request. Udon is engineered to maintain ample liquidity, but the available amount dictates withdrawal capacity — think of it as drawing from a shared reservoir: you can only draw if there's water available.
{% endhint %}

{% hint style="warning" %}
Crucial if You Have an Active Loan!\
If you currently have an active loan on Udon (meaning you've used your supplied assets as collateral to borrow), withdrawing can directly impact your collateral ratio and your Health Factor.

Reducing collateral lowers your Health Factor and can push you closer to the liquidation threshold. Imagine your Health Factor as a "safety gauge" — withdraw too much and that gauge can quickly drop into the danger zone.
{% endhint %}

{% hint style="success" %}
Always Maintain a Healthy Account\
To mitigate unnecessary liquidation risk, ensure your account remains above the protocol's defined liquidation threshold after any withdrawal. Udon provides tools in the DApp interface to monitor your Health Factor and collateral ratio in real time. Withdrawing when you have an active loan requires careful consideration and proactive management of your borrow position to stay out of the "red zone."
{% endhint %}

Udon empowers you to control your assets smartly. Understanding how to withdraw and what to monitor will enable you to manage your decentralized finances efficiently and confidently.


---

# 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://udonfi-1.gitbook.io/udonfi-docs/core-concepts/withdraw.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.
