Do you make a difference between killing someone and letting them die, should they both be done to help someone else?
You might be interested in observing triage, as that was necessary during the pandemic in badly affected countries.
It seems to me, the willingness to sacrifice is there. However the moral value of the sacrifice would also depend on the range of alternatives, as has been mentioned already with the proposal of quarantine.
Should there be a situation in which no alternative can be accepted, I believe eradication will be practiced and seen as moral.