"That's the last nail in the coffin"

Why would you have to nail a coffin shut anyway????