You could have drilled and tapped M6 holes in the drive cog to pull it off too.
Sorry for just coming up with this, it just came to mind.
Use them with a bar type puller bearing against the crank snout,
or (more risky and not recommended) 3 or 4 M6 bolts bearing against a back surface to jack the gear off.
JB Weld is 280C max temp and almost 4000PSI grip strength, might pull a gear off, but sketchy.
Aluminum is 10,000psi minimum yield.
Mild steel is 20,000psi.
Good high carbon steel is 30-40,000psi.
Alloys are 80-120,000 if I remember correctly.