 The Chinese Ministry of Revenue responded by ordering Chinese civilians and soldiers to stop going abroad to foreign countries.China's relations with Vietnam during this period were marked by the punishment of prisoners by castration.A 1499 entry in the Ming Shilu recorded that thirteen Chinese men from Wenchang, including a man named Wu Rui (吳瑞), were captured by the Vietnamese after their ship was blown off course while traveling from Hainan to Guangdong's Qin subprefecture (Qinzhou), causing them to end up near the coast of Vietnam during the Chenghua Emperor's rule (1447–1487).