The switch to Diesel was held off during WWII delaying the switch. Infrastrucure support for steam is what was turned off almost overnight. Coal and water stations were all shutdown within ten years. Steam trains had no where to go.
The last standard gauge class 1 regular service steam engine served in October of 1962. If 37 years can be considered overnight, I guess I'll agree.