Yaw Error made Mavic Pro fly away 2,3 km

Maybe. You’d have to be pretty close to the car though (a few feet or less away).

Next time you head out to fly, do these checks. That should keep you safe.