If on the off chance someone has attempted to jack your tank, here is what to do... Get out. Immediately jump out and either:
A) Stick a grenade to the attacker,
B) Destroy the tank with a rocket or grenade (If the enemy has already entered your tank), or
C) Take the tank back once you have lost control of it.
See, no problem!