How can I end one program that some patients were enrolled in it?

After some patients are enrolled in a program, I want to end a program. Even if I change the stage, the program is still open and not defined as a close.

Does somebody know how can I somehow finish the program?