A sabbatical was a practice existing in several cultures, consisting of taking time off from one's career.
William Riker, who during an 2367 undercover mission on Malcor III was taken to a hospital and discovered to have an alien physiology, lied to his doctors by explaining that his irregularities were the result of inherited genetic traits, which could have been explained by his doctor if she wasn't on a sabbatical. (TNG: "First Contact")
In 2369, after Jean-Luc Picard was turned into a child as the result of a transporter problem, Deanna Troi argued that some people would find it hard to accept a twelve-year old captain. After going over several alternatives to commanding a starship, Troi suggested that he take a sabbatical and focus on archaeology for a few years. (TNG: "Rascals")