You may not like this answer but it is the simplest one. Give him manual enrollment in the course or courses before removing him from the cohort.
Also the data may not be gone, just inaccessible. If, after the fact, you manually re-enrol, before clicking the enrollment button on the chooser, at the top, click options and check the box that talks about restoring grades. That has always worked for me.