Re-bending a bent plastic figure to stand up straight
Try to repeat the procedure, but bend it in the opposite direction, until it cools down (or even more, to be sure). While it will tend to come back, it might stop (close) to the vertical position.

You may need to repeat for a few times. Do not force it too much, as it can break.