Hàm Nghi
After the reception, Van Tuong met with Thuyết to discuss the events that had transpired during the discussion. Both mandarins agreed that de Courcy's intention was to destroy them. Forced into a corner, they decided to stake their hopes on a surprise attack on the French. That very night, the French were attacked by thousands of Vietnamese insurgents organized by the two mandarins. De Courcy rallied his men, and both his own command and other groups of French troops cantoned on both sides of the citadel of Huế were able to beat off the attacks on their positions. Later, under the leadership of "chef de bataillon" Metzinger, the French mounted a successful counterattack from the west, fighting their way through the gardens of the citadel and capturing the royal palace. By daybreak the isolated French forces had linked up, and were in full control of the citadel. Angered by what they saw as Vietnamese treachery, they looted the royal palace. Following the failure of the 'Huế ambush', as it was immediately dubbed by the French, the young Vietnamese king Hàm Nghi and other members of the Vietnamese imperial family fled from Huế and took refuge in a mountainous military base in Tan So. The regent Tôn Thất Thuyết, who had helped Hàm Nghi escape from Huế, persuaded Hàm Nghi to issue an edict calling for the people to rise up and "aid the king" ("can vuong"). Thousands of Vietnamese patriots responded to this appeal in Annam itself, and it undoubtedly also strengthened indigenous resistance to French rule in neighbouring Tonkin, much of which had been brought under French control during the Sino-French War (August 1884–April 1885).