How do i remove the rear brake rotor on my dual wheel 2005 gmc 3500? on 2005 GMC Sierra 3500

I have removed the wheels, caliper, the axle, and the screw nut in the wheel housing. I see the bearings inside, and the rotor/hub is loose, but it will not slide off. It seems like the bearings are holding the hub/rotor in place. How do I get it to slide out?

Asked by for the 2005 GMC Sierra 3500