Yes, trains are equipped with highly sophisticated and redundant braking systems designed to stop thousands of tons of weight safely. The primary system used on most modern trains is the Air Brake system, originally invented by George Westinghouse. This system uses compressed air to hold brake shoes away from the wheels; when the pressure is released (either by the engineer or a break in the line), the brakes are applied automatically, acting as a "fail-safe." In addition to mechanical friction brakes, many electric and diesel-electric trains use Dynamic or Regenerative Braking, where the electric motors are reversed to act as generators, creating resistance that slows the train while often feeding power back into the grid. High-speed trains may also use Magnetic Track Brakes, which use electromagnetic force to grip the rails directly. Because of the immense momentum of a moving train, these systems must work in harmony; a heavy freight train traveling at 60 mph can still take over a mile to come to a complete stop even after the emergency brakes are fully engaged.