On the annuity, it passes to the beneficiary. If there isn't one, it goes to next of kin.
On the pension, it depends. With my grandfather's pension, he had a choice on how to select it:
- lump sum (single amount for him to do what he wants).
- 20 years with right of survivorship (which means whoever is the next of kin - spouse, children, etc) would continue to receive it
- lifetime of pensioner or spouse
- lifetime of pensioner
All of these came with different payout amounts.
Once selected, it can't be changed.