Flags have been at times used as rallying issues in the course of battles; soldiers could collect around their colors for morale
https://threadvistax.com/s/NAvb-oEsRJSnNFmfVj2Xc
Flags were commonly used as rallying factors all over battles; infantrymen would gather around their shades for morale aid while faced with overwhelming odds.