Ketamine was given to boys trapped in the Tham Luang cave to keep them unconscious and to prevent them from panicking during their six-day rescue.