In the navy, when I was left in charge, I would let dudes go immediately as soon as they were done with whatever they were assigned or finished what needed to be done collectively unless they had duty.
I absolutely hated dudes who kept you from liberty for no good reason when all you were doing was manning the shop looking bored. If you were caught up with qualifications and had everything squared away, you earned your rest.