be thankful you weren’t around in 1898. the rules for etiquette were very stringent with no margin for error.
“A gentleman driving a phaeton in the park with a lady by his side must acknowledge all salutes by raising his hat without endangering himself or anyone nearby. The Prince of Wales, when driving a coach, can take the cigar from his lips, use his whip hand to raise his hat, while still retaining admirable control of the reins with his left.”
image of Channing Tatum found here
“Should a man be so fortunate as to provide a service to a lady in the street, such as picking up a dropped parcel or parasol, after doing so he must raise his hat and withdraw at once“
In later years it was permissable for a woman to leave her hat on indoors or during the playing of The National Anthem, unless her hat is considered a unisex one like a baseball cap. When wearing such a unisex cap, a woman should follow the same guidelines as for men.
image found here