When things go terribly wrong in a military aircraft and it departs from controlled flight, the pilot is trained to perform three tasks in quick succession:  aviate, navigate, communicate.  It is one of the first things military pilots are trained to do when their aircraft goes haywire.  This training is pounded into every novice pilot until it becomes muscle memory. It applies no matter the situation.