What happened.... Well where can we start.. The further away from the you the Mavic flies, the narrower the frequency field becomes between the controller and the craft. Its called band splitting. Think of it as a rubber band being stretched. The more u pull the thinner it gets. The further away you are the higher ther chance of having something disrupt comms with the drone. Anything that comes in between u and the drone can cause the issue. The further away you are the higher the chance of a frequency clash with a radio tower... TV tower. If you happened to fly ib line of a high frequency transmission that oscilates in 2 to 4 ghz range you could have lost it. My first question to you would be, when last did you do a flight system check on your settings in your app. Look at your action settings on controller disconnect ? RTH settings etc ? Then there are anomalies like birds, if had everything from crows to vultures and sparrows go for my drone. Ive also seen craft been taken our by the critters. Then you have the golf club deciding they dont want you flying over their property and raking you out. Here in South Africa most golf courses the management have frequency guns and they shoot the drone out of the sky. So what happened .... ? Difficult to tell because at 5000 ft you have long lost sight and visual orientation of the drone. Hence the golden rule. Fly within line of sight
Had the camera not shut off at the exact same time I lost connection, I would consider wildlife or a frequency gun as a possible scenario.
Your tale is eerily similar to that in this thread (ie sudden loss of connection etc.Mavic Fly Away this evening. Shes Gone!
You'll see on P8 that it's been diagnosed as a loose battery.
Yikes, I just started reading that thread, but so far you are right - including the sport mode.