In crap weather, couldn't see outside, he might not even had known he turned and was heading out to sea. Fair chance the loss of control came after the loss of situation awareness, and because of it. The only thing he needed to avoid was darkness, and the solution to that is usually pretty simple in a helicopter.