How to remove bearing
Why? You wanna replace the bearing in your motor perhaps.
Using a torch: "Common practise"
I would protect the winding, even though the probably can take 140 degress before melting.
Use a blow torch.
https://www.youtube.com/watch?v=hs9MWwlMOpQ
From video above.

---------------------- --------------
Us a torch to make tool to try to pull it out
Next method:
The grease gives hydraulic pressure as you force it in, and the rag serves not only to wick the grease in, but to seal the shaft so the pressure works on the bearing. Genius!
Push in grease into the bearing that you can't get out.
After full of grease, add small strips into the center hole
Use a tight drill or something similar to tap into the center hole.
Hopefully the bearing will come out.
This is how it looks when out.
Use bar soap, shave pieces slide them in and tap drift.. no rags needed works every time
--------------------
Insert bearing
https://www.youtube.com/watch?v=rBTVLz_iG9s
Dry ice / solid carbon dioxide:
Can be made using a CO2 fire extinguiser, us gloves and protect yourself with clothes and so on.
Then put a cap/hat on the hose and try catch it when you turn it on.
Aluminium plate below will pull the heat away from it.
It's shrinking.. Measuring
"Bearings should never be heated too much, even the ones without sealing. INA recommends 100°C for mounting. 120°C should not be exceeded to avoid a loss of strength of the bearing races. In most cases it is sufficient to heat one part to 100°C and to cool the other part in the refrigerator to -25°C."
- B. Gubanka