When a student is withdrawn from a course, their attendance cannot be changed. You will need to re-enroll that student and set the attendance to Attended Class. You can then later withdraw them.