# JobShardManager.UnregisterShardAsync(IJobShard, CancellationToken)

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

```csharp
public abstract Task UnregisterShardAsync(IJobShard shard, CancellationToken cancellationToken)
```

Unregisters a shard owned by this silo.

### Parameters

- `shard` (`IJobShard`): The shard to unregister.
- `cancellationToken` (`CancellationToken`): Cancellation token.

### Returns

A task representing the asynchronous operation.
