I assume you signed the contract with inspection condition
If the inspection condition didn't pass whatever day is the closing day doesn't matter because the contract is void. However if you signed a conditionless offer it is a different story you have to follow the closing date.