Original: He was promoted to captain in 1781, and was given command of the Europe, but in 1784 he was back on half pay.
Simplified: He was promoted to captain in 1781, and given command of the Ariadne. In 1784 he was back on half pay in England.