prison = house of detention: as in Jer_38:6, Jer_38:13, Jer_38:28.
Gedaliah. See note on Ahikam, Jer_26:24. Compare Jer_40:6.
Shaphan. See note on 2Ki_22:3.
carry him home. Some codices, with one early printed edition (Rabbinic), read "out of the [prison] house". From the next chapter we learn that he was taken north to Ramah with other captives, and from that place was set free, and went to Gedaliah to Mizpah (Jer_40:6). This verse (Jer_39:14) is only a brief summary.