Wiktionary
alt. (context US baseball English) A baseball cap worn inside-out and backwards, or in another unconventional manner, by players or fans, as a talisman in order to will a team into a come-from-behind rally late in the game. n. (context US baseball English) A baseball cap worn inside-out and backwards, or in another unconventional manner, by players or fans, as a talisman in order to will a team into a come-from-behind rally late in the game.
Wikipedia
A rally cap is a baseball cap worn inside-out and backwards or in some other unconventional manner by players and/or fans to will a team to a come-from-behind victory late in a game. The rally cap is primarily a baseball superstition but has been adopted in various forms in other sports such as hockey.