# Sandbox.Game.ReturnToMenu

```csharp
static void ReturnToMenu()
```

Leave the game for its `MenuScene`, out of any session - the same as changing to it. A game without one,
or joined on someone else's server, is closed instead ([Sandbox.Game.Close](/api/Sandbox.Game/Close)).

Declared in [Sandbox.Game](/api/Sandbox.Game).
Assembly: `Sandbox.Engine`.
