2 Samuel 15:17

And the king went forth, and all the people after him, and tarried in a place that was far off.

David and all the people who followed him were outside Jerusalem during Absalom's rebellion. The king halted with that company at a place that was far off. After this halt they rested beside the Jordan, and then they had to flee across the river in darkness while Absalom's forces pursued them.