So sorry for your loss.
I'm absolutely sure it was her time, and you did the right thing to take her to the vet. 10 years is a great age. Even though she was shy you let her be herself and loved her for it. She must have been happy to live so long.