Probably would of been an iffy shot at that distance anyway with that buck on full alert after rattling him in. At 40 yards, chances are good he would of jumped the arrow. And if he does and you hit high out of the vitals you would probably never see him again.
If I were you I would put a buck decoy out and use a grunt call. Good luck.