Reverting from development version of project to registered release

Sometimes when I am developing a package, I want to see how the changes might affect one of my projects. Typically, I do the following:

Activate project environment:

] activate MyProject

Switch the development version of package:

] dev MyPackage

After examining how the changes in the package affect the project, I want to revert back to the registered version of the package. How do I do that? Thanks!

] free MyPackage

Note that you will probably need to restart your Julia session to see the changes (though if you are using Revise it might be able to update your running session).