Maryland Code, ELECTION LAW 5-1303
(2) If, following the canvass and certification, the individual who is certified as the nominee has died, declined the nomination, or been disqualified, a successor nominee may be named in the manner provided by law.
(b) (1) If a winning candidate dies, declines the office, or becomes disqualified after the general election but before the certification of the general election results, the canvass and certification shall proceed as though the candidate had not died, declined the office, or been disqualified.
(2) If, following the canvass and certification of the general election results, the individual who is declared elected has died, declined the office, or been disqualified, the office shall be declared vacant and filled in the manner provided by law.