The main card is cancelled, and the auxiliary card is also cancelled. Neither card can be used. If the secondary card is cancelled, it will not affect the use of the main card.
If both cards are applied in the name of individuals and both cards are master cards, canceling one card will not affect the other card.