 Sometime after Liu Chonggui's becoming the military governor ("Jiedushi") of Qinghai Circuit (清海, headquartered in modern Guangzhou, Guangdong), early in Emperor Zhaozong's "Dashun" era (890-891), Liu Jun, wanting to avoid the turmoils, followed his uncle Liu Chonggui to Qinghai and became dependent on Liu Chonggui.He remained at Qinghai's capital Guang Prefecture (廣州) after Liu Chonggui's death in the middle of Emperor Zhaozong's Qianning era (894-898).Liu Chonggui had, in or around 894, commissioned Liu Yin as the defender of Heshui Base (賀水鎮, in modern Nanning, Guangxi), and then as the prefect of Feng Prefecture (封州, in modern Zhaoqing, Guangdong).