2 Samuel 15:29

Zadok therefore and Abiathar carried the ark of God again to Jerusalem: and they tarried there.

Cross-reference

In 2 Samuel 19:11, David enlists Zadok and Abiathar to persuade Judah to restore him, showing their continued loyalty after staying in Jerusalem.