quit (something) cold turkey
To stop doing something abruptly. The phrase is most often used to describe the sudden cessation of a drug. After smoking for so long, I should have never tried to quit cold turkey—the withdrawal symptoms are unbearable. I'm so impressed that you quit gambling cold turkey!