According to Halacha, abortion is forbidden, but not punishable by death like a full fledged murder, so would one still be obligated to give up his life in order to avoid doing it, or do we say that your blood is “reder” in this case?
The Rama YD 157:1 says that Yeharog Val yaavor applies even if it’s just a lav without the punishment of death:
וכל איסור עבודת כוכבים וג"ע וש"ד אע"פ שאין בו מיתה רק לאו בעלמא צריך ליהרג ולא לעבור
R’ Moshe understands abortion to be included in the prohibition of murder (CM 2:69) so seemingly one would have to give up their life for it. However, many others hold that abortion is other prohibitions but not murder (Maharit, Chavos Yair) in which case one would not have to give up their life for it.