Complex sentence: Although Shirley had been removed as commander-in-chief, he retained the Massachusetts governorship, although he expected to be replaced not long after his return to Boston in August.
Split into simpler sentences: Although Shirley had been removed as commander-in-chief, he retained the Massachusetts governorship. He expected to lose even that post not long after his return to Boston in August.