 The Ming Dynasty's southern fleet surrendered to Shibazhi, and Zheng decided to switch from being a pirate captain to working for the Ming Dynasty in an official capacity.Zheng Zhilong was appointed major general in 1628.Stories tell of how Cai, the governor who had forgiven Zheng for stoning him so many years ago, came to Zheng and asked for a position in the Ming navy.