There is no singular answer to this question. While many people have the goal of eventually maintaining alcohol abstinence without the use of medication, this is increasingly considered secondary. If a medication helps a person maintain substance abstinence and isn’t otherwise doing significant harm, they are often encouraged to keep taking it, potentially for the rest of their lives.  If you want to stop taking a medication prescribed to treat AUD, talk with your doctor. They may be able to help you make a realistic plan about how to do so.