According to this account, Jeremiah was sent in chains along with all the other captives of Jerusalem and Judah that were about to be exiled to Babylon. While there, Jeremiah had this oracle of Yahweh about leaving Ramah, which was about 6 miles north of Jerusalem in the Benjamin territory. Apparently this Ramah camp was where they made the final disposition of the various prisoners. Perhaps it was here that the captain of the guard, Nebuzaradan, made his final decision about Jeremiah. Like the preceding chapter, this is a different numbered chapter in the Greek translation of the Septuagint, chapters 47 and 48, not chapter 40 as here.
Once again, this is very similar to 2 Kings, chapter 25. King Nebuchadnezzar ordered that the sons of King Zedekiah be killed right in front of him. The king of Babylon then killed all the nobles or officials of Judah. Finally he blinded King Zedekiah, bound him up in chains, and took him to Babylon. He now lived as the captured blind ex-king in Babylon.