> For the complete documentation index, see [llms.txt](https://docs.algogard.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algogard.com/how-to/withdraw-supplied-assets/partially-repay-borrowed-gard.md).

# Partially Repay Borrowed GARD

If a user wishes to withdraw their collateral they must first return the GARD they have borrowed plus any interest that they may have accrued. If for whatever reason a user wishes to repay the borrowed amount over time or simply to lower the liquidation threshold of their collateral they may do so at any time utilizing our new partial repayment option.

To repay their borrowed GARD a user must go to the "borrow tab" and then click on "Manage Position."

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

Once on the management tab, a user can enter in how much of their loan they'd like to repay under "repay position" or repay the position in its entirety and close out the position by clicking "repay position." If a user doesn't have ample GARD they may either swap for more GARD as described [here](/how-to/get-gard/buy-gard.md) or mint more from a separate CDP as outlined [here](/how-to/get-gard/borrow-gard.md).

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


---

# 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.algogard.com/how-to/withdraw-supplied-assets/partially-repay-borrowed-gard.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.
