> For the complete documentation index, see [llms.txt](https://permapod.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://permapod.gitbook.io/home/tutorial/dashboard-overview/withdraw-and-repay.md).

# Withdraw & Repay

You can retrieve your supplied assets or pay back borrowed assets at any time, as long as your Health Factor remains safe.

***

## Withdraw Supplied Assets

#### Step 1 — Select an Asset

On the [Dashboard](https://app.permapod.xyz), find the asset in **Your supplies** and click **Withdraw**.<br>

<figure><img src="/files/qNVHHUoMgxKy66Xfwgud" alt=""><figcaption><p>Click the Withdraw button next to any asset in "Your supplies"</p></figcaption></figure>

#### Step 2 — Enter the Amount

1. Enter the amount to withdraw, or click **Max** to withdraw everything.
2. Use the slider to adjust.
3. Review the **Supply APY**, **Health Factor**, and **Wallet Balance** shown below.<br>

<figure><img src="/files/eKlSamd6Bfo0fMPwddOn" alt=""><figcaption><p>Withdraw window for ZIG — enter amount and review the impact on your Health Factor</p></figcaption></figure>

{% hint style="warning" %}
If withdrawing would lower your Health Factor below a safe level, you'll see: *"Health factor is low. Withdrawing may put your position at risk of liquidation."*\
You may need to **repay some debt first** before you can withdraw the full amount.
{% endhint %}

#### Step 3 — Confirm

Click **Withdraw** and approve the transaction in your wallet. The withdrawn tokens return to your wallet balance.

***

## Repay Borrowed Assets

#### Step 1 — Click on Repay

On the Dashboard, find the asset in **Your borrows** and click **Repay**.

<figure><img src="/files/iHmytmRORbaA40akKnej" alt=""><figcaption><p>Click the Repay button next to any asset in "Your borrows"</p></figcaption></figure>

#### Step 2 — Choose Repay Source

You can repay from two sources:

* **Wallet Balance** (by default) — uses tokens from your connected wallet.
* **Collateral** — uses tokens from your supplied positions within Permapod.

Toggle between the two tabs at the top of the window.

#### Step 3 — Enter the Amount

1. Enter the repayment amount, or click **Max** to repay the full debt.
2. The window shows your **Remaining debt**, **Health Factor**, and **Wallet Balance** below.<br>

<figure><img src="/files/x7uO3hWmwn1YNUJnRWTe" alt=""><figcaption><p>Repay window for USDC — choose repay source, enter amount, review remaining debt</p></figcaption></figure>

{% hint style="info" %}
If you don't have the required token in your wallet, you'll see *"No funds for repay"* with a suggestion to acquire the token first.
{% endhint %}

#### Step 4 — Confirm

Click **Repay** and approve the transaction. Your debt is reduced accordingly, and your Health Factor improves.

{% hint style="info" %}
If you want to exit a position entirely, repay all debt first, then withdraw your collateral. This keeps your Health Factor safe throughout the process.
{% endhint %}

{% hint style="success" %}
**Next step:** [Markets & Reserve Overview](/home/tutorial/markets.md) to explore all available assets and rates.
{% endhint %}


---

# 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:

```
GET https://permapod.gitbook.io/home/tutorial/dashboard-overview/withdraw-and-repay.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.
