the commander-in-chief of the government forces , general thomas , ordered the razing of the coastal towns , but before this operation was put into effect , he and his troops were recalled and despatched across the atlantic .