Any similarity between literary creations is purely coincidental.
When I woke up, I traveled through time and became Governor Hong Mingen? Still captured?
Yong Dynasty and Yin Dynasty are different from the history I know.
At the end of the Yong Dynasty, Governor Hong Mingen was defeated and captured. He fell in love with Xiao Yue'er, the concubine of the Yin Dynasty emperor who came to persuade him to surrender, and formed a secret alliance. The two teamed up to use a shocking "civet cat for prince" plan to push their biological son to the throne, and thus began the prelude to secretly controlling the affairs of the Yong Dynasty!