Joab answered, “As surely as God lives, if you had not spoken, the men would have continued pursuing them until morning.”
So Joab blew the trumpet, and all the troops came to a halt; they no longer pursued Israel, nor did they fight anymore.
References for 2 Samuel 2:28
All that night Abner and his men marched through the Arabah. They crossed the Jordan, continued through the morning hours and came to Mahanaim.
References for 2 Samuel 2:29
Then Joab stopped pursuing Abner and assembled the whole army. Besides Asahel, nineteen of David’s men were found missing.
But David’s men had killed three hundred and sixty Benjamites who were with Abner.
They took Asahel and buried him in his father’s tomb at Bethlehem. Then Joab and his men marched all night and arrived at Hebron by daybreak.
References for 2 Samuel 2:32