If u remove at gate there is a chance the miles will post as when they close the flight some docs had your mpo number and it might get picked up anyway. Best to remove it before the gate when u know won't get any opup. If u require special attention as DM umcan ask them to include it in the crew remarks or just tell the ISM you are DM