https://replay.pokemonshowdown.com/gen1randombattle-1291832153
On turn 4 of this replay, Lickitung hyper beams my Rattata and doesn't KO, so it's stuck recharging.
On turn 5, Rattata freezes the Lickitung before it can successfully recharge. However, the Recharging message is still displayed (which counts as a bug on its own).
On turn 6, the Lickitung can switch out despite the fact that it hasn't recharged from using hyper beam. This contradicts what should happen, which is that the frozen pokemon is stuck there without being able to choose a move or switch until it can successfully recharge, which would only happen if the opponent thaws it with a fire move (but not with Haze).
From Bulbapedia's page on hyper beam: "Hyper Beam will not require a recharge turn if it misses, it breaks a substitute, it knocks out the target, the user is targeted by a binding move (even if it misses), the user flinches or the user is put to sleep after the attack but before the recharge turn. However, freeze does not prevent the need for the recharge turn of Hyper Beam. If the user is confused, the recharge turn of Hyper Beam will not count towards the number of turns the user will remain confused."
[EDIT] SadisticMystic with cart footage (Skip to 2:10):
BUG STATUS: FIXED by Karthik99999