Thanks for the replies.
I usually use blue loctite but it was coming loose due to the vibration of metal-on-metal gears, and 6s power.
I've held the soldering iron on the pinion/shaft for over 3 minutes, till it was burning hot, but still haven't managed to get it off.
Also tried WD-40, and some light motor oil but to no avail