# Uninstall

Collectors can be uninstalled by using the `kubectl delete` command against the previously downloaded YAML manifest.

```bash
kubectl delete -f <file name>
```

If the yaml file is not available, you can clean up all resources with the following commands:

```bash
kubectl -n bindplane-agent delete ds bindplane-node-agent
kubectl -n bindplane-agent delete deploy bindplane-cluster-agent
kubectl -n bindplane-agent delete sts bindplane-gateway-agent
kubectl delete namespace bindplane-agent
```


---

# 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.bindplane.com/deployment/kubernetes/collector/uninstall.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.
