In the first Kung Fu Panda, the situation turns tense and dark, with the colors largely muted and desaturated as Tai Lung arrives and engages Shifu in a climatic battle, where the moves are aimed for the throat and to kill. Even the difference in stature and size between the combatants does not detract from the brutality of the actions, and you nearly forget these are anthro martial artists.
And then, right after Shifu is defeated, Po returns to face Tai Lung, and with him he brought hope back as the sun rises and colors return in full. The genre returns to the comedy it was immediately on the first punch that just bounced Po back, setting the tone for the fight to come.
Tai Lung had been steam rolling everyone the entire film, but Po was his worst match, not just in techniques as Po's specialty it turns out is a very effective counter against Tai Lung's brute force, but also tonally as while Tai Lung is laser focused on obtaining the dragon scroll, Po get to do whatever to stops or delay him getting his hands on the thing.
And fittingly, the final move in the fight is a callback to the thing Po and Shifu did earlier, similar reactions from both recipient as well, where the seemingly comedic nonsense move turns out to be a real thing.
Any other stories where the tone/genre changes at the climax?