You are still able to write a midterm or exam if you have lost your TCard. Be prepared to present government-issued ID or your passport. Your department/exam invigilator will advise you on what you need to do next.
If you have any questions or concerns, contact your Registrar or department.