godan verb (-u), intransitive verb
Describes moving about without a clear destination, often with a sense of being lost, aimless, or restless. Can be used for both physical wandering and metaphorical wandering (e.g., of thoughts).
夜の街をさまよった。
I wandered around the city at night.
彼は仕事を辞めてから、ずっと人生の目的を求めてさまよっている。
Ever since he quit his job, he has been wandering in search of a purpose in life.