MB3 43b: Saying the Incorrect Shmoneh Esrei on Shabbos (268:3-5)

What if someone begins to say the weekday shemoneh esrei middle brachot and remembers it's Shabbos in the middle of a bracha? Saying the wrong Shabbos Amidah.