once hideyoshis cavalry had scattered the mercenaries into retreat , they turned to aid their infantry in forming a cohesive line against the enemy with makeshift weapons , and they watched the last of yoshimizus nobles leave the battlefield while being uplifted by yells of victory .