I had a similar experience but a little more dramatic. Gimbal seemed to almost invert the camera.
On landing I straightened out the camera, so it was pointing reasonably level, and took off again and all went well. Not sure if this will happen again but the fix was just to land and straighten...