In the TV series Supernatural, and many other movies/stories we see that ghosts stay on Earth because of some item of theirs instead of going to Heaven/Hell. And burning/destroying that item is the way to put them to rest.
I was wondering whether a ghost can hold on to some intellectual property that they made during their life? If yes, then how can one put such a ghost to rest? If no, why not?