うろたえる

Etymology
From.

Verb

 * 1) to be baffled; to be bewildered
 * 2) to wander aimlessly