Complex sentence: She paid off after the war, in July 1782 and returned to England for substantial repairs; the cost of which amounted to £19,267.13.8d and took until June 1784, after which she was laid up at Deptford.
Split into simpler sentences: She paid off after the war in July 1782 and returned to England for substantial repairs. The cost of repairs amounted to £19,267.13.8d and took until June 1784, after which she was laid up at Deptford.