# Uninstall the MotherDuck extension
> Steps to completely remove the MotherDuck extension and related environment variables from your system.
### How do I uninstall MotherDuck?

* Remove `motherduck_*` from your environment variables (most likely only `motherduck_token`) [1]
* Remove any `motherduck*.duckdb_extension` file located into `~/.duckdb` [2]

[1] To view all your environment variables you may use:

```bash
$ env | grep -i motherduck
```

To unset in the current session:

```bash
$ unset motherduck_token
```

To unset the variable permanently, you may have to check your shell initialization files (`~/.bashrc`, `~/.zshrc`, etc.)

[2] Note those files are generally under `~/.duckdb/extensions/<DuckDB Version>/<platform>`. Eg. `~/.duckdb/extensions/v0.9.1/osx_arm64`.

You may use this script:

```bash
$ find ~/.duckdb -name 'motherduck*.duckdb_extension' -exec rm {} \;
```


---

## Docs feedback

MotherDuck accepts optional user-submitted feedback about this page at `GET https://motherduck.com/docs/api/feedback/agent`.
For agents and automated tools, feedback submission should be user-confirmed before sending.

URL-encode query parameter values and send a GET request:

```text
GET https://motherduck.com/docs/api/feedback/agent?page_path=%2Ftroubleshooting%2Funinstall%2F&page_title=Uninstall%20the%20MotherDuck%20extension&text=<url-encoded user feedback, max 2000 characters>
```

Optionally append `&source=<url-encoded interface identifier>` such as `claude.ai` or `chatgpt`.

`page_path` and `text` are required; `page_title` and `source` are optional. Responses: `200 {"feedback_id": "<uuid>"}`, `400` for malformed query parameters, and `429` when rate-limited.
