After an unplanned emergency brake application stops a train on the main track, what must the engineer do FIRST?