shore leave
shore leave {n.}
Permission given to a man in the Navy to leave his ship and go where he wants for a certain length of time.
Jim went to visit New York when he was given three days' shore leave.
The ship did not dock long enough for the sailors to get shore leave.
Categories:
Source: A Dictionary of American Idioms