I had a similar experience a few weeks back, fired up and wanted a compass calibration. I did that all well, went for a fly in wide open area with no power lines etc. 17sec in went to atti mode on its own and raced off, I flew manually and the got gps mode back. Bought it back to me all good...