you would not have been exercised untill the end of the day, if you had closed the position by then, you could not have been exercised, so you had all day to close your short position ... this looks idd like a painfull lesson in rather exceptional circumstances.