There are 2 ways to release a network license.
Solution
1st way
Simply close Revit.
2nd way
Without closing Revit, go to the Dock 'License Manager' (gear icon at the bottom right of the Dock) > click 'Manage' under 'Network license' > 'Release Network Licenses'.