# Asset Management Actions (Repay & Withdraw)

Once you’ve supplied or borrowed assets, you can **manage your open positions** using the **Repay** and **Withdraw** functions.

* **Repay** → pay back borrowed assets to reduce or close your debt.
* **Withdraw** → take out your supplied assets when you no longer want them earning yield or being used as collateral.

#### Why it matters

* Repaying protects you from liquidation risk if markets move against your collateral.
* Withdrawing lets you unlock funds you previously deposited.
* Managing positions is key to keeping your account healthy and flexible.

***

### Repay

#### How to use it

1. Open **Supply & Borrow** tab.
2. Under **Manage Liquidity**, select **Repay**.
3. Enter the amount you want to repay (or click **MAX** to repay all).
4. Confirm transaction:
   * **Native markets** → repayment happens directly on Nibiru.
   * **Cross-chain Compound markets** → assets are bridged and repaid into Compound automatically (\~2–5 minutes).
5. Your outstanding debt decreases in **My Position**.

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

***

### Withdraw

#### How to use it

1. Open **Supply & Borrow** tab.
2. Under **Manage Liquidity**, select **Withdraw**.
3. Choose the token you want to withdraw.
4. Enter the amount (up to your available supply).
5. Confirm transaction:
   * If the asset is still acting as collateral, ensure you maintain safe collateralization levels after withdrawing.
   * Withdrawing too much collateral can trigger liquidation risk if you still have active borrows.
6. Tokens will appear back in your connected wallet.

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

***

### Key Risks & Safeguards

* **Repaying early** → reduces interest costs and improves account health.
* **Partial withdrawals** → safe as long as borrow capacity remains above requirements.
* **Over-withdrawal** → may lower your collateral below the liquidation factor, leading to liquidation.
* **Cross-chain repayments/withdrawals** → require bridge time (2–5 minutes).

***

## ✅ Key Takeaway&#x20;

* **Repay** to reduce or close your borrowing obligations.
* **Withdraw** to reclaim your supplied collateral.
* Always track your **borrow capacity** and **collateral factor** before withdrawing to avoid liquidation risk.


---

# Agent Instructions: 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://docs.friendly.market/products-1/asset-management-actions-repay-and-withdraw.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.
