# Silo.StopAsync(CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silo/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.silo/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Silo/Silo.cs#L297-L364)

```csharp
public Task StopAsync(CancellationToken cancellationToken)
```

Gracefully stop the run time system only, but not the application. Applications requests would be abruptly terminated, while the internal system state gracefully stopped and saved as much as possible.

### Parameters

- `cancellationToken` (`CancellationToken`): A cancellation token which can be used to promptly terminate the silo.

### Returns

A `System.Threading.Tasks.Task` representing the operation.
