Shore leave was time spent at liberty from a naval vessel. It was conceptually similar as the civilian vacations. Shore leave was often enacted when the ship was undergoing repairs at a shipyard.
Annika Hansen took the crew of the RIS Bouteina on shore leave on multiple occasions, on worlds like Malachor V, as well the Thurvean Sector. (RIS Bouteina: "No Child Left Untested", "Easter Eggs", "Low-Cost Vacation", "Just Cause")
After the brutal "626" mission, the crew of the USS Alchemy was put on shore leave while repairs were effected. (Star Trek: Alchemy)