# Shutdown()

> Removes all ECS type information and any allocated memory. May only be called once globally, and must be called from the main thread.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public static void Shutdown()
```
