I had the fuel cut off or ECU in limp mode thing happen to me on a track day. The car would not accelerate at all, either coast or slow down and then the check engine light came on. I pulled off the track and waited for the session to be over and everything was fine afterward.
I checked the Error codes after and had two new ones.
I don't remember the actual codes but the description was along the line of "Camshaft position sensor out of range" and another one for O2 sensor temperature.
I cleared them and they never came back. I never saw the Coolant temp light, so I assume the engine was not overheated.
I'm not sure what caused this but I know I was pushing the Yaris really hard trying to follow a WRX