> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exponent.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Proposal

> Low-level instruction to cancel an active governance proposal

# createCancelProposalInstruction

Builds a raw instruction to cancel an active governance proposal before it is executed. Only callable by the manager (or Exponent sentinel). This immediately transitions the proposal to a cancelled state, preventing any further voting or execution.

## Usage

```typescript theme={null}
import { createCancelProposalInstruction } from "@exponent-labs/exponent-sdk/client/vaults";
import { PublicKey } from "@solana/web3.js";

const ix = createCancelProposalInstruction({
  authority: wallet.publicKey, // manager or Exponent sentinel
  vault: vaultAddress,
  proposal: proposalAddress,
});
```

## Accounts

| Name        | Signer | Writable | Description                                |
| ----------- | ------ | -------- | ------------------------------------------ |
| `authority` | Yes    | No       | Manager (or Exponent sentinel) authority   |
| `vault`     | No     | No       | Vault account associated with the proposal |
| `proposal`  | No     | Yes      | Active proposal to cancel                  |

## Returns

`TransactionInstruction` — a transaction instruction ready to be added to a transaction.
