Learn how liver failure disrupts sleep, the role of ammonia and melatonin, and practical steps to restore rest while protecting liver health.