Think of it this way -
.... after you have landed - flight plan closed, or
.... you have a change of plan, or halfway through your sector you want to go elsewhere ... or go VFR ... etc - flight plan cancelled.