What was the name of the general at the Ming fort