A couple of months ago my Twitter account was hacked by a spammer who subscribed me to a couple thousand other accounts. Since there is no mass unfollow feature, I wrote a quick and dirty javascript to kill everything on my page:
var a = $('.unfollow-text');for(var b=0;b<a.length;b++){a[b].click();}