A teenage boy is recovering in the hospital after suffering a medical emergency directly after a high school basketball game in Waterbury.