On the subject of brakes, CSX had a really wild incident back in 2001. They were switching cars at Walbridge, Ohio with an SD40-2 #8888, nicknamed Crazy Eights.
Since they were just switching cuts of cars at low speeds within the yard, they A) did not have the train brakes hooked up and were just using the independent (locomotive) air brakes and B) were operating with just an engineer instead of the two man crew.
While moving towards a switch, the engineer noticed that the switch was misaligned. Despite the low speeds, he did not think he could stop the locomotive before the switch, since he only had independent brakes and 47 cars in tow, 22 of which were loaded and 2 of those containing liquid phenol. So, the engineer made the (incorrect) decision to fully apply the independent and dynamic brakes, hop down an run to align the switch and then either climb aboard as the train passed, or catch it when it stopped.The problem is, he didn't fully engage the dynamic brakes. They are controlled by the locomotive throttle lever. You flip a switch to engage the dynamic braking and then set the throttle to whichever notch or level of dynamic braking you want. He had not fully engaged the switch before leaving the cab, which meant while he thought he had full dynamic braking, he had actually set the locomotive to wide open throttle. And just the independent brakes were not enough to hold back the engine in Notch 8.
He got to the switch and aligned it, but by the time the train approached, it was accelerating and while trying to jump aboard he slipped and got dragged for a few feet before getting clear, just suffering some abrasions and bruises. With the switches just happening to be aligned the way they were, #8888 and it's train headed out onto the main line.
Modern locomotives are equipped with a dead man's switch. If a button is not pressed or a throttle or brake input made every so many minutes, the locomotive will shut down. This is for if a crew member falls asleep or is incapacitated or the locomotive runs away. The problem is, this system is disabled if the independent brakes are applied, since it assumes the locomotive is just idling in the yard. So the dead man's switch didn't trigger on #8888.
By now, CSX was aware of the situation and began clearing mainline traffic out of the way. MoW crews ran ahead with portable derail frogs, hoping to derail the locomotive, but were not succesful. The police tried having snipers shoot the emergency fuel cutoff button, but this had no effect because the switch has to be physically held for several seconds to shut the engine down. By this point it was traveling at 51mph and had covered some 60 miles across Ohio. Finally, a crew onboard another SD40-2, #8392, that was on a siding, uncoupled from their train and then switched back onto the mainline and chased down #8888. They made a moving coupling to the rear of the train and then set the dynamic brakes to full to slow down #8888. Bringing the speed down to 11mph, a CSX conductor was then able to run alongside #8888 and hop aboard and shut down the wayward locomotive. By the time they stopped #8888, her brake system was completely destroyed from traveling 66 miles with the brakes dragging the whole way.
Afterwards, the engineer was found to be at fault by CSX. From the after-incident report "The cause of the incident was multiple gross errors in judgement by the locomotive engineer. For the incident to have occurred, each error needed to be committed in sequence. First, the engineer was not properly controlling the speed of his train on the lead, if he is unable to stop for a switch improperly lined. This is covered by the railroad's operating rules. Second, if the engineer cannot stop for a switch improperly lined, the correct action to take is simply run through the switch and then stop without backing up, to avoid derailing the train. Third, an engineer should never dismount his locomotive while it is moving, except in extremely rare emergency circumstances, such as an imminent collision. This is also covered by the railroad's operating rules. Fourth, the engineer should not have relied on dynamic braking at low speed, since dynamic brakes are ineffective at speeds of less than ten mph, except on an AC locomotive. This is well known among railroad engineers. Fifth, the engineer seemed to believe, in error, that an automatic brake application would improve braking power on single locomotive with the independent brake fully applied. Sixth, the engineer misapplied the selector handle for "power" or "dynamic brake," an error that can only be understood if we assume the engineer acted with extreme haste and negligence. That all of these actions were taken by an apparently well-qualified, fully rested employee with a good service record is simply incredible."
#8888 was repaired and put into service. Later in life she would suffer a mechanical failure and was parked by CSX, at which point many museums tried to buy the infamous locomotive. CSX, obviously loathe to preserve that historical point, instead ran #8888 through their SD40-3 rebuild program and renumbered #4389, erasing her past.
The events of the CSX #8888 Incident were loosely turned into the 2010 Denzel Washington film Unstoppable.