15 650 xmr HI TEMP LIMP MODE then dies

I came across an issue with my 650 xmr this past weekend. While out riding in some mud I got a check engine light and it flashes across the screen saying HI temp limp mode. If I turn it off and put the key back to on without starting I can hear the fan turn on for a little while then turns back off. Most of the mud I was riding in was the thick stuff nothing really even close to the radiator.I sprayed the radiator this past weekend with a hose and it didn’t seem to help any.

I have checked the coolant and I do have coolant. I brought it home and once its cooled off starts fine runs for about 10 min then the message flashes again. It looses power stutters then shuts off. Haven’t had a chance to pull codes on it yet. I found somewhere on here talking about the sequence of flipping the key and certain buttons to pull codes does this work? Any possible ideas as to what may be the culprit and what I could begin checking? Really wanted to have it ready for a ride this coming weekend. Thanks in advance for the help.