How long ago was the shave?
Swelling can, as anyone who ever had a strep throat knows, make your voice different and even lower until the swelling passes.
The shaving procedure can sometime hurt the vocal folds a bit, if you are less than a month after surgery I'd suggest to wait until at least a month or two passes.
Another thing, ask your surgeon, ask a doctor.