I've been unable to locate the original post detailing the freight train accident near Carlisle which blocked the trains for so many weeks from 19 October 2022 until 6 December 2022 - the post about the reopening was at
https://community.ricksteves.com/travel-forum/england/trains-in-and-out-of-carlisle-to-skipton-and-newcastle-back
The RAIB (Rail Accident Investigation Board) has just released its report which shows, among other things, the root cause of the accident happened 55 miles from the scene. Those affected in those 3 months may find it interesting reading, and those concerned for how the safety of the railway is ensured.
An article in a trade magazine with a link to the full report is at https://railuk.com/rail-freight/raib-report-freight-train-derailment-at-petteril-bridge-junction/