2012 Mazda3 Sky Active automatic Transmission

I was breaking hard to stop at a light and the DSC/TSC light came back on on the speedo not the tach and when it did the car stayed in a low gear and depressing the DSC button on the dash had no effect. Also I went into manual mode to see if I could shift but the M showed up but now gear number. I pulled over and shut the car off and the issue resolved itself.

Any ideas on what maybe happening?

Jordan

Sent from my Samsung Galaxy