I'm not sure what triggers it, but I just had a game where Oak became permanently invulnerable. It was a computer, so it kept running into our base, capping all of our flags, then running away.
Wish I could have saved the replay so that I could see what caused it.