...
You can also unlink an existing target space by choosing the publishing dashboard ellipsis dropdown menu Clear Publishing configuration option.
...
This option will remove the synchronization between the previously linked spaces - the source space and the target space - and will reindex the space.
...