Flags were at times used as rallying points in the course of battles; soldiers could collect around their hues for morale
https://kylerxkon931.northvaledigest.com/posts/preserving-history-the-importance-of-reenactment-quality-civil-war-flags-2
Flags have been sometimes used as rallying features for the duration of battles; infantrymen may gather round their colorings for morale beef up when confronted with overwhelming odds.