Helicobacter pylori might contribute to persistent cognitive impairment after resolution of overt hepatic encephalopathy.