Mine almost didn't survive something similar.
I flew mine from my back-yard numerous times. 30 times, maybe? Anyway, I went out, fired up the bird and waited. Everything was green. All systems go. I powered up the blades and gave a couple of seconds to settle again. Then, I hit the "let's see how the air feels" stick and sent up. The bird immediately flew towards a tree at 2 feet off the ground and was rising. I pulled back on the stick and nothing doing...she kept looking to kill herself against a tree. I pulled both sticks back. I figured at less than 4 feet, she may not be pretty, she'll be better off on the ground going backwards than implanting itself in the side of a tree. Sticks were useless. She the flew backwards and to the right going faster and faster towards my house finally sticking her nose into the bricks hard enough to crack my lens. NOT HAPPY.
I went to a friend who works for a DJI store and has hundreds of hours with the sticks. We watched the map and stick controls on the play back from within the app. It didn't take a new RTH point and until it hit the wall, we noticed that the GPS home point was inside my house on the other side of the house I'm not even able to go to. We believe it was trying to go to it's home point. But why, we don't know. The interesting thing is that you can see it had 16 satellites and it was green and synced. There are no large or even small metal objects in my back yard to worry about "interference". So...why did this happen? NO CLUE.
I do have to send it to DJI. After looking at all the data (there was no video as I was only going to record after getting into the air), he believes I have a good case for a new drone...at least the gimbal...at not cost. We'll see when I get time to get it sent back.