You should be able to turn it over and punch it out with a long flat-faced punch. There should be enough of an edge to catch the punch. Just make small hits as you work your way around, hitting it on opposite sides. Knock any burrs off and put it back in the correct way.
I can think of a lot of more serious mistakes that I have made. None unsurvivable.
Are you talking about the bearing adapter that fits on the spindle? If so heat it up with a propne torch and wedge a chisel between the adaptor and slindle body. It should come off easy. then re install it. Good luck.
If those ideas don't work on your reverse installed cup , and I suspect that there won't be any edge presenting itself to drive against . You can take a cold chisel and create some exposure against which to use a punch .