Plan is automatically finished when all the tasks are finished with status Finished, Workarounded or Failed and Planned Finish is over.
If Manager of a plan wants to prematurely finish a plan, all tasks must be overrided to be finished, otherwise the Plan will stay in Running status. This can be done on individual level or on TaskGroups level.
Same can be achieved by Failing a plan.