It was most likely a software error in the computer controls for one or more interlinked ships systems.
Does that work with a live GPS connection? Can that be hacked?
good idea - somebody likely moused in a course correction in the nav system, and some software glitch (or perhaps human entry error) decided it needed to turn the ship 180 degrees the other way.
As a computer science professional, all I have to say is...sounds reasonable to me.