We had a parakeet put down many years ago, because she developed quite a few tumors suddenly (we never did find out if it was cancer for sure), and she began to lose weight, become listless, and have severe difficulty getting around. My mom took care of it. I was sad, but at the same time I was glad she wasn't hurting anymore.
Hugs for you...losing a pet is never an easy thing