ORIGINAL: hiramekisama
If this is a metal pinion on the electric motor, I used a profane touch. Get it hot enough and it just slides off.
Seriously?
Did the torch utter harsh language as you used it?
You could expect two possibilities using a torch; possible damage to the motor as heat travels the shaft and secondly
you probably removed any hardness ( assuming brass ) that the pinion once had..
I'd really advise against using a heat source, propane, butane; profane or well spoken.
I'd go with plan B, buy a gear puller.
Jerry