Unfortunately the OP is one of the many thousands of victims of DJI's policy to position their consumer drones as perfect beginner flying camera (they rather call it a camera than a drone). Nobody should have to be a pilot according to DJI. They even renamed their PILOT App to GO, because they wanted the public to think it it just pushing a button and GO! Even the Spark is not a real beginner drone. Way too much enforced autonomy to be able to learn the principles of drone piloting. Even for an experienced RC pilot a manual drone is something different to get used to. I lost my first manual drone on the second flight exactly the same way, I just didn't know what it would do with high winds. After flying RC collective pitch heli's for years.
The OP couldn't know beforehand how a Mavic would react when it would switch itself to Atti, there's simply no way to try it on a Mavic, (not even in the simulator!) which is fine for an experienced pilot, but for a beginner it is a moment of total terror when it happens. Even if you read the manual you can't learn to fly Atti with a Mavic (or Spark).
DJI marketing is totally responsible in my opinion for the many first time user disasters.
To all new upcoming pilots: I would strongly suggest to get a cheap no-GPS drone (big enough to fly outside, cost about up to 50$) and practice manual VLOS flying in a safe unobstructed area, before flying anything as sophisticated and capable as a Mavic.
OP, I really hope you will get your drone back in one piece or at least a replacement from DJI.