You need another workspace, that is, the local folder where your working copy is located (yes, you can have more than one).
With a fresh workspace without any changes to it, you can restore your shelf there, complete the registration and not have your original workspace intact. If desired, you can delete another workspace or save it for these maintenance tasks.
To create a new workspace, simply open the source code explorer and open the Workspace combo box on the top toolbar. Select Manage Workspaces and create a new one.
source share