By clicking the red bin button, the course and all its related attendance records will be deleted permanently.  Please be aware that there is no way to recover deleted records.  You can always change the course's status to Not Active to make it temporarily unavailable by switching the "Status" button to OFF.