In his later years, he returned to Li's side and gave lectures in Fengshan Academy and Academy successively.
After the Opium War, out of indignation, in the 29th year of Daoguang in Qing Dynasty (1849), he supported the young farmer Shen and others to assassinate Amara, the governor of Macao. Bao Junping is a master of poetry and calligraphy, especially good at calligraphy, small letters, cursive scripts and broken characters. He, Zhang Weiping and Li Jian were famous Lingnan painters in the late Qing Dynasty. In the first year of Xianfeng in Qing Dynasty (185 1), Emperor Xianfeng of Qing Dynasty ascended the throne. Hearing of his talent, he summoned Bao Jun to Beijing to fill his position. Bao suddenly got carbuncle on the way and died soon after returning to Li. His posthumous works include Yin Guan Shi Hua, Yi Xia Ge Ci Hua, Luo Fu Cao, Bao Yi Qing Cao Fa and so on. The original works are mostly distributed in Hong Kong, Macao, Guangzhou, Shanghai and other places, and there are also inscriptions on rocks and temples in the countryside.