Restricted RPM

Anyone had his issue, hot day been out for an hour left the car for a hour and
When stated up, start stop was disabled and warning light came on with limited to 4,000 revs and had no power. Drove for a bit and then pulled over as I went to turn the engine off high temp coolent warning came on. Turned off then on and all fine ???

Any ideas

Sent from my iPhone using Tapatalk