Weird one: Power steering went out on road with oil and battery light coming on. Shut truck off then back on fixed it (for now)

Let the wife drive my truck (01 Tacoma V6 2wd) and while she was out and about she had the power steering go out after doing a u-turn. The oil and battery lights came on as well. She pulled over and shut the truck off then turned it back on and it drove fine the last little bit she had left to drive home. I know power steering can intermittently go out if the pump is failing or if the fluid is getting nasty but for the oil and battery light to come in baffles me considering the power steering system on this Gen Tacoma doesn't have electronics other than the idle up sensor in the pump. I drove the truck after she got home with no issues, tried maxing out the steering, fish tailed it some on the road, and it didn't have signs of any problems. I'll probably replace the pump because it does sound like it has a slight whine to it, I just don't know if that's wholly the issue. Thanks for any help.