I’ll bring up Elmer Gideon and Harry O’Neill. Both played very briefly (O’Neill in a Moonlight Graham scenario) but they were the only major league players who died in WWII.
Christy Mathewson was exposed to poison gas during a training exercise in WWI and eventually died of tuberculosis 7 years later.