## Destroy embedded Checkout

`checkout.destroy()`

Removes Checkout from the DOM and destroys it. Once destroyed, an embedded
Checkout instance cannot be reattached to the DOM.

Call `checkout.createEmbeddedCheckoutPage` to create a new embedded Checkout instance
after unmounting the previous instance from the DOM.

### Example

```title
Destroy embedded Checkout
```
