Can we withdraw a manuscript after acceptance but before publication?
As noted by @Joe_74, it is possible but very bad form.  If there is not a good reason for such withdrawal, the authors are subject to poor reputation at a minimum and sanctions (such as a ban) at a maximum.  You haven't said why you wish to withdraw.  As Joe said, if there is an error, it is unfortunate, but withdrawal is probably best.  If it's like another recent post, and it's because of simultaneous submission or some other less ethical behavior, you would deserve whatever comes your way.