It is natural for you to want to be with your cat and provide comfort during this time. If your cat is experiencing pain, it may better for her to be left alone. However, if she is still responsive, it can be comforting you being by her side.
It’s always a good idea to consult a veterinarian for guidance on your cat’s best course of action. They can provide recommendations based on your cat’s specific condition and needs. They might recommend euthanasia and cremation.