Bodily autonomy means only you have the absolute right to do with your body what you want. The “unborn child” has no right to claim your body for its own use. Removing it from the body is always done as safely as possible; before 24 weeks this means an abortion, as the fetus is non-viable still. After 24 weeks, it’s called an induced birth and the baby gets to survive.
This without question ties the right to abortion to the right to bodily autonomy. The “rights of the unborn child” are respected by not killing it after 24 weeks.