If you change your algorithm, your old tokens are still usable because you know which algorithm was used to create them.
If you're switching off an algorithm, you're probably doing it because it's been broken. And, if it's broken, you won't use it anyway.