I thought most surgeons wanted patients to stop using minoxidil like 3-5 days before surgery since that's its terminal half life:
https://www.sciencedirect.com/topics/medicine-and-dentistry/minoxidil#:~:text=While the half-life of,the longer duration of action.