For your bet to stand, at least 1 set needs to be completed. So if a player retires after the end of the first set, the bet stands.