I expect they knew where they were going and how to get there before they left land. (...and how to get back.)