Hartley continued to act as military commandant in the Konkan when a despatch arrived from London acknowledging his services but declaring his recent promotion as lieutenant-colonel invalid.
Thereupon, Hartley quit the army, deeply hurt, and in December 1781 started for England to lay his case before the Court of Directors.