In a dream, they were warned not to report back to Herod. So they worked out another route, left the territory without being seen, and returned to their own country.