2014 570 EPS Shuts down

Just picked up a 2014 570 EPS with 640 miles on for my wife. I purchased it from a dealer who re-flashed the ECM after we discussed the issues I had seen on the forums. First day It was taken out 3 times the first two it went just fine. A buddy rode it hard, wife went easy on it and I road it hard. When I hut the breaks to come into the drive way I noticed that the power EPS became very stiff and when I took my foot off the rear break the wheels remained locked. I pulled into the driveway and the power cut out and the machine died. I tried to restart but there was no reaction when the key was turned. I waited a minute or so and it started up and runs fine… Does anyone have any ideas as to the cause?