The token has to be returned to the signal box put into the machine and another token taken out.
Once a train has departed the signal will be returned to danger. It is not possible to clear the signal again until a token is returned and another taken out.
If the tokens are simply swapped over...