Using createVehicleCrew command on the AMG lets you reconnect to the AMG but if you take control of the turret and shoot once the screen freezes and you can no longer release the UAV connection (you can respawn to fix the situation).
Something similar happens with the Darter UAV after it is reassembled (when I tested it the Darter disappeared instantly after reassembly and appeared somewhere up in the sky).