We left the Palace Grounds through a garden exit. If I remember right it was near the Neptune Fountain. We ate lunch in Versailles and then returned via the same gate with no problems. It was a musical gardens day so we re-entered with our Garden Tickets.