When ABC executives told Kimmel last month that his show was being pulled off the air, the late-night show’s audience was seated, a guest chef had already started making food, the musical guest had performed a warm-up act, and Kimmel was in the bathroom.