A literal, physical translation of "we pulled the plug" is "Wir zogen den Stecker."
But sometimes, this expression is used in a figurative sense
We "pulled the plug" on the project.
Is there a German idiom used this kind of context? Or is the literal translate still the best one?