I didn't think she was fully unconscious. Also, "magically"? She used the Force. It's an energy field created by all living things. It surrounds us and penetrates us. It binds the galaxy together. In this case, given she was in a vacuum, just a slight pull on the ship is all she needed to fly back to it.
> Rey is somehow the strongest force user now despite no training
Well, that is the premise, though. Luke himself grew immensely powerful with much less training than Anakin. Some people are just born with stronger Force. Something something midichlorians