Adm Sir Ben Key was due to step down as First Sea Lord this summer, before an investigation started.