https://en.wikipedia.org/wiki/Get%C3%A5_railroad_disasterThe Getå railroad disaster was Sweden's worst and led to extensive improvements in trackbed design.
The involved locomotive was put back on the tracks and eventually returned to the site on the 100 year anniversary.