I looked at this flight some. Course Lock was initiated at 418 secs. At about 518 secs the RC connection was lost and the AC switched to GoHome. The AC turned towards the HomePoint, ascended to 35 meters, and started towards the Home Point. Not sure why you think it was flying sideways, it was pointed directly at the HomePoint. Here it as 521 secs after the turn towards the HomePoint was complete.I think I see why it turned to "Go Home" LOL. It was the home point from the beach.
I still don't understand why it moved laterally while disconnected, though, and especially not why it applied a reversal of the pitch instruction. So, chalk one up to not paying attention on the starting point. OK, that's fine and it makes sense.
What about this issue of it still behaving like it was in Course Lock, though, in terms of the reverse pitch moving the copter back towards the origin point, and not actually in reverse? Shouldn't RTH automatically kill whatever active mode the copter was in at the time RTH is initiated? Also, why mash into the cliff? What happened to its obstacle avoidance? That's a fairly large obstacle.
Here the taupe background is the Course Lock and the teal is the GoHome.
At 537 secs RC connection was re-established but the AC continued in GoHome mode. At 551 full negative rudder and then full negative aileron were applied. Following that at 554 full negative elevator was applied for about 5 secs. This had the effect of slowing the AC from 10 m/s to 0.5 m/s. After the negative elevator was released the AC then started to resume it's GoHome speed.
Initial impact came at 559.29 followed by several subsequent impacts, rolling and a gradual lose of altitude. It hit and then rolled and bounced down a hill.