The Supreme Court today closed a contempt of court case against Tamil Nadu based professor N Shanmugham after he tendered an apology for his conduct. Shanmugham had written to Dhavan threatening him over his appearance for Muslim parties in the Ayodhya case, prompting Dhavan to file a contempt plea before the Supreme Court.