There is nothing which inhibits his power to put questions to the witnesses, either during chief examination or crossexamination or even during re-examination to elicit truth. The corollary of it is that if a Judge felt that a witness has committed an error or a slip it is the duty of the Judge to ascertain whether it was so, for, to err is human and the chances of erring may accelerate under stress of nervousness during cross-examination. Criminal justice is not to be founded on erroneous answers spelled out by witnesses during evidence-collecting process. It is a useful exercise for trial Judge to remain active and alert so that errors can be minimised.
[See the full post at: Section 165 of the Indian Evidence Act confers unbridled powers upon the trial courts to put any question at any stage to the witnesses to elicit the truth.]