The car felt numb after doing some hursh accelerations on sports mode! on 2013 Mercedes-Benz ML63 AMG

It happened once, i was driving in confort mode than changed to sports mode, did some hursh accelerations and all of a sudden a had a warning light on and the car started being unresponsive, felt like it wanted to go down, like no petrol was getting into the engine. I had to switch off the car waited for 10 min and than it was all normal again. Can you tell me what could it be?

2 answers
warranty issue there should be a code stored in ecm,have mbz ck it out