With the 1918 flu pandemic, mild cases of flu remained with their unit, while extremely sick cases were transported home via train for improved medical care. As a result, it was the severe cases that ended up sparking new infections, while the mild cases died out after generating herd immunity within an army company.
Most respiratory viruses follow the first scenario, although there is a caution there for people who suggest eg. transporting sick people by airliner to regions with fewer cases to make better use of available hospital capacity. Ironically asymptomatic transmission is your best friend here: if all transmission is asymptomatic, the strains that get transmitted will be the ones more likely to not cause symptoms.
Covid is a bit different, because it has a longer incubation time, but that wasn't the issue with the 1918 influenza outbreak.
(Note well: I am not an epidemiologist.)