The ending of the film 'Brazil' - written by Tom Stoppard (famous modern literary playwright, you'll find Rosencrantz and Guildernstern are Dead, Arcadia and plenty of his other works in university literature courses), directed by Terry Gilliam - can't get a better pairing than that. Brilliant bittersweet 'sad but awesome' middle-finger to corporatism at the end. Strongly recommend it to anyone who likes arty-scifi (i.e. don't expect an action movie, though there is plenty of humour before things turn dark), or Stoppard-style existentialism.
For those who have watched it, I'm talking about (SPOILERS)
;
SPOILERS
SPOILERS
.
.
.
.
SPOILERS\
.
.
SPOILERS
.
How the last 10 minutes of the film has a big action rescue sequence, where Robert De Niro's 'anarchist plumber' character and his comrades rescue the main character just as he's about to be tortured and have his mind read (so the Ministry of Information can find out their details) in a big action shootout, then finds out his girlfriend is still alive and leads a rebellion...until the action and events start getting increasingly absurd, over the top and finally...dreamlike.
The camera then pans out to reveal that the last 10 minutes has just been following the main character's dream (isn't out the blue - the film constantly crosses between the 'real' world, and the guy's 'dream world'), and he's really still strapped in the chair about to be tortured and interrogated. The interrogator readies his sharp tools, leans over and...
...realises that he can't actually wake the guy from his dream. The main character is catatonic, permantly stuck in his dream world where he 'won' and saved the day, with the Ministry unable to get at him inside his head. Film ends with them wheeling him off, commenting in frustration about him being useless to them now, while he's whistling away happily inside his dream-state.
Awesome ending, even by Stoppard's standards.