# TestCluster.StopPrimarySiloAsync(CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.TestingHost/TestCluster.cs#L654)

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

Stops the default Primary silo.

### Parameters

- `cancellationToken` (`CancellationToken`): The token used to cancel shutdown.
