shut/close the door on something
shut the door (up)on someone or somethingand close the door on someone or something ; close the door to someone or something
1. Lit. to close a door, preventing someone or something from passing through. (Upon is formal and less commonly used than on.) They shut the door upon me, and I couldn't get in! We quickly closed the door on the smoke.
2. Fig. to eliminate an opportunity for someone or something. The board of directors shut the door on me, and there was no further opportunity for me to pursue. They closed the door on further discussions.
close the door on
Also, shut the door on. End or exclude from consideration, discussion, or action. For example, His lack of qualifications closed the door on further promotions, or Last quarter's poor sales figures have shut the door on any expansion plans.
close (or shut) the door on (or to)exclude the opportunity for; refuse to consider.
1999 South China Morning Post Fergie did not close the door on the couple reconciling some day.