# Close a loan

### Video Tutorial

{% embed url="<https://www.youtube.com/watch?index=4&list=PLzkcHm87m_ZFj0WdX40Cw5IcpOH7HJKCy&v=LvFHxW9zI7I>" %}

### Step by Step

* **Connect your wallet** to Sendit and navigate to the **Portfolio** page.
* **Select the loan** you want to repay and close, then click **Manage**.

  > We recommend using **Verified Markets** for most users.
* **Repay SOL**
  * Go to the **Repay SOL** tab.
  * Enter the amount of SOL you want to repay. Use **MAX** to repay the full loan.
  * As you adjust the repay amount, you will see:
    * **New Borrowing Power**: Increases as debt decreases.
    * **Available Liquidity**: Increases as SOL is returned to the pool.
    * **New Liquidation Price**: Adjusts lower as your debt is paid.
    * **Loan-to-Value Ratio (LTV)**: Improves as your debt decreases.

<figure><img src="/files/XCzGKsKKy7m5nmsrWFdr" alt="" width="344"><figcaption></figcaption></figure>

* **Withdraw Collateral**
  * Go to the **Withdraw Collateral** tab to release your deposited tokens.
  * If you repaid your full SOL debt, you can withdraw all collateral.
  * If only partially repaid, you may withdraw a portion. The **Withdrawable** balance shows the maximum you can take out.
* **Confirm in Wallet**\
  Click **Repay** or **Withdraw** and approve in your wallet. Your loan will update in real time in the **Portfolio** page.

***

### Important Information

* **Repaying Debt**: Lowers your LTV ratio and liquidation risk.
* **Withdrawing Collateral**: Raises your LTV ratio and liquidation risk.
* **Partial Management**: You can manage loans incrementally—repay part, withdraw part, or close entirely.


---

# 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.sendit.fun/getting-started/tutorials/borrow/close-a-loan.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.
