Legally the judge cannot do that, and in the vast majority of the cases the judge will not. In fact some judges ultimately may sentence you to less time after a jury verdict when they see you and hear the facts of the case. On the other hand, some judges are just as harsh on guilty pleas as on verdicts of guilty.