# Entering and Exiting a Vault

### Entry

To enter a vault, a user will select the maturity that they want to borrow from, the amount they want to borrow, and the amount they want to deposit. Notional will take the user's deposit, borrow the extra cash from the specified liquidity pool, and deposit the total funds in the vault. The Notional vault controller will record the user's debt and their share of the assets in the vault.

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

### Exit

Users can exit a vault at any time. Notional will redeem the user's vault shares, pay off their debt by lending to the specified liquidity pool at the current market rate, and return the excess capital to the user.

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

If the user borrows at a fixed rate, their debt will be converted to a variable rate at maturity and their position will stay open.

### Rolling your position

Users can convert variable rate leveraged vault positions to fixed rate vault positions or vice versa (or even from fixed rates in one maturity to fixed rates in another maturity). The only difference a user experiences when rolling a levered vault debt compared to a normal debt is that **the user must roll their entire debt in one transaction** - users can't roll a strategy vault position over multiple transactions.


---

# 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.notional.finance/notional-v3/leveraged-vaults/entering-and-exiting-a-vault.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.
