I had the exact same thing happen. A 5 foot fall, landing upside down.
As you show in the photos, the motor rotor is no longer flush with the propellor. You need to push the motor rotor back up from the underside.
I don’t know how you would do it for a back leg, but for the front legs, you...