bum around

[bum around] {v. phr.}, {slang} To aimlessly wander in no definite direction, like a vagabond.

Jim had been bumming around in the desert for three days and nights before he was able to remember how he got there in the first place.