So:
Whack (not steel hammer) using the bolt that you’ve put back into the axle now you’ve removed spacer.
Bearing, stubborn end cap and axle will pop out the other side.
Grip axle somewhere in the centre, undo the remaining cap*. Pull bearing off. Pop bearing still in hub shell.
*the advice further up is for if this bit isn’t working.
So:
Whack (not steel hammer) using the bolt that you’ve put back into the axle now you’ve removed spacer.
Bearing, stubborn end cap and axle will pop out the other side.
Grip axle somewhere in the centre, undo the remaining cap*. Pull bearing off. Pop bearing still in hub shell.
*the advice further up is for if this bit isn’t working.