out of one’s bearings

See: astray