Who peed on your cheerios? But I guess you might have to rationalize it this way since when the thread was first going you claimed quite definitively that there was "no chance" the OP would be retained.
It could also be that the OP's efforts to improve were the primary reason for retention. COVID or not, gen surg spots are not hard to fill. I doubt the program would have kept someone they had "on the radar" purely because it was expedient.
Given that from the beginning of this thread the OP seemed fairly realistic and reflective about their issues, I find it very possible that they improved and earned their spot. Let them enjoy the moment, and let it be an example for people who come to post similar stories.