(a) Unless the board agrees to accept the surrender of a license, a licensee may not surrender the license nor may the license lapse by operation of law while the licensee is under investigation or while charges are pending against the licensee.
(b) The board may set conditions on its agreement with the licensee under investigation or against whom charges are pending to accept surrender of the license.