Flags have been in some cases used as rallying issues all the way through battles; infantrymen could collect around their hues for morale
https://zionitwe861.clearminster.com/posts/flags-as-historical-artifacts-insights-into-the-civil-war-era-4
Flags had been usually used as rallying features at some point of battles; soldiers might accumulate round their colorations for morale beef up whilst faced with overwhelming odds.