A customer ports their number away to another operator. What has to happen on your side, and what usually goes wrong?
A port is an externally timed event you do not control, so your cease has to land with it and not before. The failures are asymmetric: cease early and the customer loses service, cease late and you keep billing a number you no longer serve while usage records still arrive.