idiom
wander off
Meaning
to walk away without purpose or direction
Example
The child **wandered off** while we were shopping.