Cancel match chess online If I played chess online, there is an option to cancel the match. Does official chess game allow it or what rules define it?
You can't cancel the match once it is started. Your only option is to resign in such case.

You're referencing something called "abort" where the match is ended with no result for either side. There is no option to "abort" in modern competitive chess, but it is worth mentioning that a few decades ago it was the norm to adjourn games that took an unreasonably long amount of time (i.e. played long into the night). It would be resumed at a later time convenient to both players.