Notably, the H2S donor GYY4137 and iNOS inhibitor L-NAME effectively ameliorated the surgery-induced neuroinflammation and cognitive impairment. This evidence concerns the gene NOS2 and Cognitive impairment.