You made the right decision.
The best you can do for her is to stop the suffering.
I found it helpful to recognize that although one is shortening their natural life span, at the same time one prevents the animal from further suffering and dying in agony when there is no prospect of recovery...