 After her launch, "York" was under the command of Captain Robert Barton, and as part of Sir Samuel Hood's squadron, she participated in the occupation of Madeira.In 1809, "York" was on the West India Station, and was involved in the capture of Martinique.In April a strong French squadron arrived at the Îles des Saintes, south of Guadeloupe.