# OnExitToolMode()

> Called when the tool becomes inactive.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.TerrainTools](/engine/6000.5/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

```csharp
public virtual void OnExitToolMode()
```

### Remarks

Unity calls this method when the tool is no longer the active tool.
