I had a couple of discus in a 25 gal I was trying to have breed, It never worked out and in the end I was down to one. One day it was startled and bolted head first into the glass. Soon after it lost its balance. I was always nose down and could never get itself upright. Initially i thought the problem was swim bladder related. But I finally understood the problem was brain damage. It managed to eat and function semi-PL, because it was the only fish in the tank I knew there was no issue with it being piked on etc.
That fish lived in the tank for many months before it finally passed. It did not waste away and as far as i could tell it was not in pain or behaving really erratically. So, I chose not to euthanize it. It managed to move about the tank OK even though it never returned to it normal orientation.
However, for a fish like your tetra if it cannot be helped so it should not be left in a tank with other fish as it will sooner or later be picked on. It will have no quality of life. So, there are not a lot of options. I rally hate having to euthanize a fish but learned to do so when I knew it was the right thing to do. But that does make it it any easier for me to do when I must do so.