As depicted in the series finale "What You Leave Behind", Bashir remains aboard Deep Space Nine, and begins a romantic relationship with Ezri Dax.
In the Mirror Universe, the alternate Bashir is a freedom fighter in the Terran Rebellion.