2 Chronicles 18:32

For it came to pass, that, when the captains of the chariots perceived that it was not the king of Israel, they turned back again from pursuing him.

Cross-reference

2 Chronicles 19:1 Historical context

After the pursuit ends in v.32, 2 Chronicles 19:1 records Jehoshaphat's safe return to Jerusalem.

1 Kings 22:33 is the parallel account of the chariot commanders realizing Jehoshaphat is not the king and stopping pursuit.