2Sa 2 Samuel, chapter Second Book of Samuel, chapter 19
So the king got up and went to sit at the town gate.19:8. In other words, David made himself accessible to them, rather than stay cooped up in his room. Everybody was told: “Look, the king is sitting at the town gate.” They all came to see the king.
In the meantime the Israelites had run away and gone to their homes. 2Sa 5:1