The Wikipedia top example is Sherlock Holmes dying in a fight with Moriarty and then coming back later when the author relented and decided to write more stories.
https://en.wikipedia.org/wiki/Retroactive_continuity