I had whooping cough, aged 9. I was off school for 6 weeks straight.
Between coughing fits, and the eventual throwing up, I was and felt as right as rain.
As long as i didn't do anything to irritate cough, I was fine.
But obviously I couldn't have staying indoors all that time. I wasn't doing anything daft, but did go to my parents business and quietly do homework/assignments etc, library etc.
I wasn't mixing with other kids, except my sister, i wasn't out at parties etc, i wasn't doing anything worse than the child seen quietly reading at the gym.
At least he wasn't running about, causing mayhem...