After hearing of the warrant for his arrest Aung San decided to leave the country and consulted with Ba Maw about how to do so. Some of Aung San's colleagues advised him to go to the Shanghai International Settlement and make contact with communist agents there, but he was unable to find passage on a ship travelling to that city. Ba Maw was advised by a contact at the Japanese consulate, Vice Consul Fuki, that Aung San could not leave on a Japanese ship, since the British authorities were monitoring them, but should instead leave on a ship friendly with the British government bound for Japanese-occupied Xiamen, after which they would be intercepted by Japanese agents. Aung San agreed with this plan and spent a month waiting inside the Japanese consulate for an opportunity to escape. Besides Ba Maw's account of how the trip had been organized by the Japanese consulate, the Communist Party of Burma claimed that Aung San had left to seek the cooperation of the Chinese Communist Party, and Aung San stated that the goals for the trip were open-ended.