Jeremiah 38:27-28
38:27 All the officials did indeed come and question Jeremiah. He told them exactly what the king had instructed him to say. They stopped questioning him any further because no one had actually heard their conversation.
38:28 So Jeremiah remained confined in the courtyard of the guardhouse until the day Jerusalem was captured.The Fall of Jerusalem and Its Aftermath
The following events occurred when Jerusalem was captured.