§ 781. Punishment of misconduct at trial term. Where a misconduct, which is punishable by fine or imprisonment, as prescribed in this article, occurs at a trial term, or with respect to a mandate returnable at such term, and was not punished at the term at which it occurred, the supreme court may inquire into and punish the misconduct, as if it had occurred at a special term of the supreme court, held in the same county, or with respect to a mandate returnable at such a special term.