Hayes, who was filling in for the injured Colin Edwards, started from the back of the grid. But the two time AMA Superbike champion got some early morning encouragement when he posted the fastest time in warm-up.
"It was a very exciting and difficult race but certainly an experience I will never forget. I had a joke with my crew that I should have packed up at lunch after I was fastest in the warm-up," Hayes said. "The conditions were really difficult with the rain but riding the Yamaha YZR-M1 with the carbon brakes and Bridgestone tyres was a lot of fun and I enjoyed it.
"The bike felt perfect each time I went out of the pits and it is a real bonus to finish inside the top 10. It i s not exactly how I wanted to do it with so many guys going down at the first corner but I am happy with my race and how I rode. It was a successful race for me and I managed to beat a lot of experienced riders, which is something to be proud of.
"Riding a MotoGP is definitely something I would like to do again in my career. I want to send a big thank you to everybody who helped me be here. Yamaha US, GYTR, YES and of course Hervé Poncharal gave me a great opportunity and everybody has been so nice to me. Hopefully people enjoyed seeing me out on track, because I definitely enjoyed being out there."