I would let it sit for a little while with the engine off, start it back up and see what happens. Maybe the computer put a temporary limiter on it or something to that effect......I dont claim to be an expert or even close, but just a guess. How long were you on the gas? Were you on it steady the entire time? What do you mean the gas did nothing. Are there any other lights on or codes? Please add more detail