# Independent Exit (Without Morfa)

Because Morfa is strictly **noncustodial**, your ability to access your USDC, revoke automation, or claim Merkl rewards **never depends on `morfa.finance`, Morfa's APIs, or the automated worker being online**. Every asset resides directly in immutable Ethereum Mainnet smart contracts.

Use the procedures below to exit completely independently at any time.

***

## 1. Exiting Mode B (`Morfa Vault / mfUSDC`)

### Option A: Via Official Morpho App (Easiest)

1. Open [Morpho App](https://app.morpho.org/) and connect your wallet on **Ethereum Mainnet**.
2. Open your **Portfolio** or navigate directly to the Morfa Vault V2 contract:
   `0xfde07Bd3A0e514e7216239Ecd31c51a2400B99c9`
3. Use Morpho's native **Withdraw** interface to burn `mfUSDC` and receive USDC directly in your wallet.
4. If ordinary vault liquidity (`Idle + Liquidity Adapter`) is temporarily lower than your position, Morpho App also exposes protocol-level **`forceDeallocate`** / **in-kind redemption** paths directly on the Vault V2 contract.

### Option B: Directly via Etherscan (Zero Frontend Dependency)

1. Open the **Morfa Vault V2** contract on Etherscan:
   [`https://etherscan.io/address/0xfde07Bd3A0e514e7216239Ecd31c51a2400B99c9`](https://etherscan.io/address/0xfde07Bd3A0e514e7216239Ecd31c51a2400B99c9)
2. Read your exact `mfUSDC` share balance on **Contract → Read Contract → `balanceOf(yourAddress)`** (18 decimals).
3. To exit **100% with zero dust**, go to **Contract → Write Contract → `redeem`**:
   * `shares`: exact `uint256` value returned by `balanceOf(yourAddress)` (**18 decimals**)
   * `receiver`: your wallet address
   * `owner`: your wallet address
4. Alternatively, to withdraw a specific USDC amount, call **`withdraw`**:
   * `assets`: USDC amount in base units (**6 decimals**, e.g. `1000000000` for `1,000 USDC`)
   * `receiver`: your wallet address
   * `owner`: your wallet address

:::warning[Watch the Decimal Units on Etherscan]
* **`redeem(shares, receiver, owner)`** takes **`mfUSDC` shares (`18` decimals)**.
* **`withdraw(assets, receiver, owner)`** takes **USDC base units (`6` decimals)**.

Safe Multisig users can execute the exact same `redeem` or `withdraw` call through Safe's **Transaction Builder**.
:::

***

## 2. Exiting Mode A (`Direct Wallet / Morpho Blue`)

### Step A: Revoke `MorfaRebalancer` Authorization

To immediately prevent any further automated moves (works even if `MorfaRebalancer` is paused or Morfa is offline):

1. Open immutable **Morpho Blue** on Etherscan:
   [`https://etherscan.io/address/0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb#writeContract`](https://etherscan.io/address/0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb#writeContract)
2. Call **`setAuthorization`**:
   * `authorized`: `0x2135195643CCC32513Da3baDC6394FbaB8Fb9cfA`
   * `newIsAuthorized`: `false`

*(Optional: you can also call `disable()` directly on `MorfaRebalancer` via Etherscan; `disable()` remains callable even while the contract is paused.)*

### Step B: Withdraw USDC from Morpho Blue

**Via Morpho App (Easiest):**

1. Open [Morpho App](https://app.morpho.org/) → **Portfolio → Variable Rate Markets**.
2. Locate your USDC supply position and withdraw directly to your wallet.

**Directly via Etherscan:**

1. Open **Morpho Blue** (`0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb`) → **Read Contract**:
   * Call `idToMarketParams(marketId)` to retrieve the exact 5-field `MarketParams` tuple (`loanToken`, `collateralToken`, `oracle`, `irm`, `lltv`).
   * Call `position(marketId, yourAddress)` to inspect your exact `supplyShares`.
2. Switch to **Write Contract → `withdraw`**:
   * `marketParams`: the 5-field tuple from `idToMarketParams`
   * `assets`: `0` (for full zero-dust share exit) **or** exact USDC 6-decimal amount
   * `shares`: your exact `supplyShares` (when `assets = 0`) **or** `0` (when withdrawing by exact `assets`)
   * `onBehalf`: your wallet address
   * `receiver`: your wallet address

:::tip[Morpho XOR Rule for `assets` and `shares`]
When calling `Morpho.withdraw(...)`, supply **either** `assets > 0` with `shares = 0`, **or** `assets = 0` with `shares > 0`, never both non-zero. Passing `assets = 0` and your full `supplyShares` exits cleanly with zero dust.
:::

***

## 3. Claiming Merkl Rewards Independently

1. Visit [`https://app.merkl.xyz/`](https://app.merkl.xyz/) and connect your wallet on Ethereum Mainnet.
2. View all claimable rewards for your address and click **Claim**, and Merkl submits the proof directly to the Ethereum **Merkl Distributor** (`0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae`).
3. For zero-UI claiming, query `https://api.merkl.xyz/v4/users/<yourAddress>/rewards?chainId=1` for your cumulative `amount` and `proofs`, then call `claim(users, tokens, amounts, proofs)` directly on `0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae` on Etherscan.
