A mistrial has been declared for a man who is accused of killing three people and injuring three more during a shooting in Annapolis, according to court officials.