Marryat was a midshipman under Captain Cochrane and this, his first naval adventure, is considered to be a highly autobiographical telling of his adventures with one of Britain's most famous and daring naval captains.