pull the plug
US /pʊl ðə plʌɡ/
UK /pʊl ðə plʌɡ/

1.
to prevent something from happening or continuing
:
•
The company decided to pull the plug on the failing project.
•
They had to pull the plug on the concert due to bad weather.
2.
to disconnect life support from someone who is terminally ill
:
•
After much deliberation, the family decided to pull the plug.
•
It's a difficult decision to pull the plug on a loved one.