To remove this, I usually removed the bottom aluminum belt housing. Turn it over and remove the two screws that hold this pulley assembly in the housing, Remove this pulley assembly from the housing.
Now I remove the snap ring, put it in a press and press the shaft down and out.
If the spindle needs to come out, remove the set screw in the back of the quill. Now the quill nose can be unscrewed. Then the spindle can be knocked out, bearings and all, as a assembly.
George
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)