On 1663, Koxinga would attack Manila which would further complicate the situation of the Spanish who are already dealing with the revolt of Malong, Maniago, and Almazan, the Balayan Moros and the Moro Cagayanes and the Balayan Moros which are hostile to the Spanish and the Spanish have been dealing with the Moro Mindanao tribes in the South which threaten Zamboanga and the Muslims in Ternate.
The Spanish would retreat from Mindanao and Ternate islands to Luzon carrying the Merdicas tribes to Ternate Cavite and the Spanish would encounter Koxinga who would raid and conquer Manila with the help of the Chinese and the Kingdom of Tungning would transfer to Northwestern Luzon which is under the revolt of Maniago, Almazan, and Malong after the Spanish had defeated Koxinga further eliminating the revolt of Maniago, Almazan, and Malong and cut off the Christians in Cagayan from Spanish protection against the Moro Cagayanes which would make them a minority in their lands and many of them would revert to Islam until it is only a few of the Malauegs who have remained Christian, during this time, the Sultanate of Cagayan and Sultanate of Taal would be in the records of the Spanish in the Philippines as the Moro Cagayanes would have started to further organize themselves and invited Gujarratis and Arabs to migrate to them again which had migrated to the island prior to the Spanish and the lands of the Moro Cagayanes and the Balayan Moros in would have attracted Cham immigrants from the other side of South China Sea, due to the Tungning transferring to Northwestern Luzon from Taiwan, the Pangasinenses, Kapampangans, and Ilocanos would later be heavily sinicized but prior to that they had already been friendly to the Chinese which would ease the transition of control of the part of the Island to the new Chinese ruling class.
The retreat of the Spanish from Mindanao, Sulawesi, and the Spice Islands would be seen as a victory for rulers like Sultan Kudarat of Mindanao.
Both the Moro Cagayanes, Balayan Moros, and Moros of Mindanao would have a presence in Borneo as they would have traded with the Borneans in the South.