If the actual match is abandoned (as per final match scorecard), the mega contest for that match is cancelled. In case you had added extra teams for the contest by spending coins, those coins will be refunded.