He is a Senator until he is confirmed. He would vote for himself.
That itself would be a bad move simply for the political optics of it.