I've always found that the Shimano connector, if oriented as Tourist illustrates, falls off the hub if I forget to remove it when I drop the wheel.
Perhaps gently loosening the SON connector (if that's what OP has) just a tiny bit with a small, flat blade screwdriver would suffice?