As purr the above image, Coco is a cat. If you were looking for anybody else named Coco, or any names that Coco may be a nickname for (e.g. Caroline, Chloe, Colette, etc.), you will need to look elsewhere.
Front-facing Coco
May she rest in peace.
I need you to listen to me very carefully.Your cat knew.
I'm not just saying that to make you feel better. Cats are a social species. Our domesticated cat is not descended from solitary hunters, but from a social group species that lived, hunted and raised young together. They have the ability to not only give affection, but understand when they receive it too. You say your cat jumped on you and licked your hair, that's a social grooming activity. Something they would do to strengthen social bonds. Grooming is something a mother cat will do to her kittens, to clean them but also to calm them and strengthen bonds. Adult cats usually only groom other cats when they are related or get along really well.
Your cat saw you as part of her family and she treated you as such by taking care of you. It's not a behaviour a cat will show if they think the other party will respond negatively. Your cat knew you would like it because your cat knew you loved her. You made her feel safe and loved.
Your cat knew.
I wish you all the strength in the world. Losing a part of your family is always painful, no matter how short or long their time was with you. But please know that you gave her a beautiful few months. And then you did the hardest, but most kind and loving thing you could have done by stopping her suffering and letting her die with dignity and without pain. Trust me, without a single doubt,
Your cat knew.
Additionally, PetMD states "Some cats may become reserved and secluded as they become ill, while others will become more affectionate and choose to spend all their time with their loved ones." CareCredit states that "Some cats become more loving near the end, and they may want to stick close and follow you around."