

# Removing and deleting ontologies

An ontology stays a draft or published until you delete it. When you no longer need an ontology, you can stop using it, delete it, or both:
+  **Stop using it** – Remove it from the [Agent Contexts](what-is-key-resources.md#what-is-agent-context) that use it. The ontology stays in your account, and you can use it again later.
+  **Delete it** – Remove it from your account permanently. Before you can delete it, you must remove it from every Agent Context that maps it.

**Warning**  
Deleting an ontology is permanent.

You can’t delete an ontology while a [connection mapping](data-mapping.md) in an Agent Context uses it. You can delete an ontology that you only associated for grounding. Its schema stays loaded in the Agent Context, and its grounding links stay. You can’t remove an associated ontology from an Agent Context. For more information, see [What triggers grounding](ontology-grounding-updates.md).

**Topics**
+ [Remove an ontology from Agent Contexts](ontology-delete-find-usage.md)
+ [Delete an ontology](ontology-delete.md)
+ [What happens when you delete an ontology](ontology-after-delete.md)
+ [Troubleshoot deleting an ontology](ontology-delete-troubleshooting.md)