The withdrawn student will appear in a query based on the term enrolled. The student will only be excluded from the query if they are dropped from the class, or withdrawn from all terms of the class.
Dropping the student will delete their grade and attendance information for the class.

For more information, see How to determine whether to drop, withdraw, or transfer a student.