How did the King know what Kris was doing during the snowgrave, if he was essentially in isolation in a jail?

When talking to him, he accuses us of abandoning the inhabitants of the dark world of their library, after which he says "disappear"