Mercury was again paid off in July 1786 and spent the period between August 1787 and January 1788 undergoing a small repair at Woolwich. After being fitted out there she was recommissioned in May 1788 under Captain Augustus Montgomery, and sailed to the Mediterranean. She returned to Britain and was paid off in 1790.
