Before I leave I intent to take a backup of the database application I wrote for them (much of which was done in my own time, and was not part of my job description), and then destroy any copy left in the company.
I don't think that it would be a very good idea. They could drag you to court claiming that you "Vandalized" their property. I don't know what sort of project management and quality assurance steps your employer company follows, but it would be hard for you to prove that the parts of code and/or executables you destroyed, belonged to you and not your employer.
I used to think like that sometime ago. Then I thought, this kind of "revenge" won't make my life any better.
Currently I am working for a small (well, tiny) software business which has delussions of grandeur, while lacks ANY kind of direction and the management has complete lack of knowledge (but of course they think they know everythink). I'm gonna keep on building my vb.net and C# skills and after the summer I'm gonna quit. ;-)