You can’t cancel a shipment that is picked up. Shipments can only be canceled before handover to couriers.