# Roll back and unpublish

> List the revisions of a network, assign an earlier revision again to roll back, and end an assignment with mk unpublish.

Every revision you publish stays in the network. Rolling back is assigning an earlier one again. Unpublishing ends an assignment, and the revision stays to assign later.

## List revisions

```sh
mk revisions --network my-network
```

It shows what runs where, since when and by whom, and the network's revisions, newest first.

## Roll back

```sh
mk publish --network my-network --revision 5d2e7b18f0a1
```

`--revision` assigns an earlier revision again, to the same selectors as a publish. The id as `mk revisions` prints it is enough. The servers swap back while players stay connected.

## Unpublish

```sh
mk unpublish --network my-network -l channel=canary
```

`mk unpublish` ends the assignment of a selector. The servers it picked stop those bundles and keep what other assignments give them. The revision stays in the network.

## Related

- [Publish a revision](https://minekube.com/games/versions-and-deployments/publish)
- [CLI reference](https://minekube.com/games/reference/cli#mk-unpublish)
