Following the signing of the Treaty of Ghent, which ended the war, Perry served on various vessels in the Mediterranean.
Setelah ditandatanganinya Traktat Ghent yang mengakhiri perang, ia bertugas di berbagai kapal di Laut Tengah.