Kennedy was a midshipman aboard the HMS Indefatigable. He and Horatio Hornblower were somewhat friendly with each other.