Murder accused shot in court room