Is “Capturing Guan Yu alive and Guan Xing's revenge” true?

novel invention

According to the Records of the Three Kingdoms, Book of Wu, Biography of Pan Zhang, Pan Zhang's subordinates captured Guan Yu, and Pan Zhang died of illness in the third year of Huanglong (231 AD); the Romance of the Three Kingdoms fictionalizes that Guan Yu's apparition stunned Pan Zhang, allowing Guan Xing to kill him and seize his treasured sword.

Pan Zhang

In official history, Pan Zhang died of illness in the third year of Huanglong after capturing Guan Yu, while the novel fictionalizes that he was stunned by Guan Yu's apparition and then killed by Guan Xing.