lay the ghost of something

lay the ghost of (something) to rest

To do something that finally eliminates one's long-held fears, worries, or distress about something that happened in the past. New DNA evidence in the decades-old investigation finally laid the ghost of these accusations to rest for Mr. Jones. It wasn't until I got my new job that I could finally lay the ghost of my departure from the bureau to rest.
See also: ghost, lay, of, rest
Farlex Dictionary of Idioms.

lay the ghost of something

If you lay the ghost of something bad in your past, you do something which stops you being upset or affected by it. Jockey Maguire laid the ghost of a terrible week with a triumphant win in the Irish Champion Hurdle yesterday. Note: You can also say that you lay to rest the ghost of something with the same meaning. Timmis seems to have laid to rest the ghost of her unhappy 1992 campaign when she failed to make the Olympic team.
See also: ghost, lay, of, something
Collins COBUILD Idioms Dictionary, 3rd ed.
See also:
  • a thing of the past
  • a/the feel of (something)
  • (I) wouldn't (do something) if I were you
  • a straw will show which way the wind blows
  • a slew of (something)
  • a crack at (someone or something)
  • (one) could use (something)
  • all right
  • (you) wanna make something of it?
  • all for the best