Here is an idea, add the following into the init statement field for your tank.
this addEventHandler ["GetOut", "if (_this select 1 == 'commander') then {dostop (driver (_this select 0));};"];
When acting as the commander for the tank, tank will stay put when you get out, until you order the driver to move elsewhere or to regroup.
Didn't test it in multiplayer.