Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
So here is how to loose a server off the domain without even touching it.
In my case this was bad. VERY bad as the VM in question had the same name as our TFS server. After joining the newly named VM to the domain our devs started whining about TFS being down. There was a brief OMG moment. But then it got worse when we found that the local machine account password wouldn't work. To cut a long story short, phycially disconnecting the server from the network allowed us to login with my domain account (using cached credentials) and from there we were able to rejoin the machine to the domain.
Phew!