At the age of thirteen he was sent to Yale College, where, notwithstanding his extreme youth,—for, with the exception of the poet Hillhouse, he was the youngest of his class, and Hillhouse was afterwards withdrawn,—his progress in his studies is said to have been honorable to his talents. He left the college, after a residence of three years, and became a midshipman in the United States navy. Six years he followed the sea, and there yet wanders, among those who are fond of literary anecdote, a story of the young sailor who, in the streets of one of the English ports, attracted the curiosity of the crowd by explaining to his companions a Latin motto in some public place. That during this period he made himself master of the knowledge and the imagery which he afterwards employed to so much advantage in his romances of the sea, the finest ever written, is a common and obvious remark; but it has not been so far as I know, observed that from the discipline of a seaman’s life he may have derived much of his readiness and fertility of invention, much of his skill in surrounding the personages of his novels with imaginary perils, and rescuing them by probable expedients. Of all pursuits, the life of a sailor is that which familiarizes men to danger in its most fearful shapes, most cultivates presence of mind, and most effectually calls forth the resources of a prompt and fearless dexterity by which imminent evil is avoided.
In 1811, Cooper, having resigned his post as midshipman, began the year by marrying Miss Delaney, sister of the present bishop; of the diocese of Western New York, and entered upon a domestic life happily passed to its close. He went to live at Mamaroneck, in the county of Westchester, and while here he wrote and published the first of his novels, entitled Precaution. Concerning the occasion of writing this work, it is related, that once, as he was reading an English novel to Mrs. Cooper, who has, within a short time past, been laid in the grave beside her illustrious husband, and of whom we may now say, that her goodness was no less eminent than his genius, he suddenly laid down the book, and said, “I believe I could write a better myself.” Almost immediately he composed a chapter of a projected work of fiction, and read it to the same friendly judge, who encouraged him to finish it, and when it was completed, suggested its publication. Of this he had at the time no intention, but he was at length induced to submit the manuscript to the examination of the late Charles Wilkes, of this city, in whose literary opinions he had great confidence. Mr. Wilkes advised that it should be published, and to these circumstances we owe it that Cooper became an author.