Dmitri Shostakovich had a wry sense of humor. On the finale of the fifth, Shostakovich wrote:
"What exultation could there be? I think it is clear to everyone what happens in the Fifth. The rejoicing is forced, created under threat... It's as if someone were beating you with a stick and saying, 'Your business is rejoicing, your business is rejoicing,' and you rise, shaky, and go marching off, muttering, 'Our business is rejoicing, our business is rejoicing.' What kind of apotheosis is that?"
"A Soviet artist's reply to just criticism" was how Shostakovich billed the release of the symphony ... ha! The government was ready to send him to Siberia, so he had to change the tone of his music or wither away in a camp. What he managed to do was make the Party happy while snickering at them. You can hear it in the music.
The ending still conveys a kind of hard-won triumph, even more so when we listen to it today. Those were tough circumstances for creating art and music - always a dictator to please.