Now while he was not yet gone back, he said, Go back also to Gedaliah the son of Ahikam the son of Shaphan, whom the king of Babylon hath made governor over the cities of Judah, and dwell with him among the people: or go wheresoever it seemeth convenient unto thee to go. So the captain of the guard gave him victuals and a reward, and let him go.
While he hadn't left yet, he told him to return to Gedaliah, the son of Ahikam, the son of Shaphan, who was made governor by the king of Babylon for Judah's cities. You can either stay with Gedaliah and the people or go wherever you want. The guard captain gave him food and a reward before letting him go.