Regarding automatic flight, what happens to Litchi when Mini 2 derailed from the pre-defined flight route due to a gust of wind?

I’m currently using DJI Mini 2.
Regarding automatic flight, what happens to Litchi when Mini 2 derailed from the pre-defined flight route due to a gust of wind?
Litch will try to return to pre-defined flight route via the quickest rout?
or
Litch will change the route as Straight from the deviated point to Desitination?

Will be correct answer.

I appreciate your kindness.