A death knell is a bell rung to announce a death. So figuratively it is a harbinger or omen of the end of something.