Peg it, peg out/pegged
To peg it or peg out are British colloquialisms from the mid-19th century meaning to die, together with ‘pegged’ which means dead. The origin is from the game of cribbage where players peg out to finish the game. From the mid-19th century, this was adopted as a metaphor for dying.