Meanwhile Marryat was constantly running away--to sea; according to his own account because he was obliged to wear his elder brother's old clothes. On one occasion his father injudiciously sent him back in a carriage with some money in his pocket. The wise youth slipped out, and finding his way home by some quiet approach, carried off his younger brothers to the theatre. He finally ran away from a private tutor, and Mr Marryat recognised the wisdom of compliance. Being then fourteen, that is of age to hold a commission, Frederick was allowed to enter the navy, and on the 23rd of September 1806, he started on his first voyage on board H.M.S. _Impérieuse_, Captain Lord Cochrane, for the Mediterranean.
He could scarcely have entered upon his career under better auspices. In a line-of-battle ship he would have had no chance of service at this stage of the war, when the most daring of the French could not be decoyed out of port; but the frigates had always more exciting work on hand than mere patrolling. There were cruisers to be captured, privateers to be cut off, convoys to be taken, and work to be done on the coast among the forts. And Lord Cochrane, Earl of Dundonald, was not the man to neglect his opportunities. His daring gallantry and cool judgment are accredited to most of Marryat's captains, particularly in _Frank Mildmay_, where the cruise of the _Impérieuse_ along the Spanish coast is most graphically and literally described. Cochrane's _Autobiography_ betrays the strong, stern individuality of the man, invaluable in action, somewhat disturbing in civil life. As a reformer in season and out of season, at the Admiralty or in the House of Commons, his zeal became a bye-word, but Marryat knew him only on board his frigate, as an inspiring leader of men. He never passed an opportunity of serving his country and winning renown, but his daring was not reckless.
"I must here remark," says Marryat in his private log, "that I never knew any one so careful of the lives of his ship's company as Lord Cochrane, or any one who calculated so closely the risks attending any expedition. Many of the most brilliant achievements were performed without loss of a single life, so well did he calculate the chances; and one half the merit which he deserves for what he did accomplish has never been awarded him, merely because, in the official despatches, there has not been a long list of killed and wounded to please the appetite of the English public."