If you exit an ongoing match purposely, by mistake, or due to a connection error, regardless of the reason, the opponent automatically wins the match.