Wiktionary
put the plug in the jug
vb. (context idiomatic intransitive informal English) To cease drinking alcohol; to become teetotal.