How long have you have the card?
Those that sign and get a hefty sign-up-bonus (SUB) and then quickly cancel the credit card can lose their SUB (called crawback) but not other earned miles. Six months is usually safe. UA will not close your MP account if you cancel your card.