If Em Dash shortcut is not working in Word, employ the Universal Alt Code, create a Foolproof AutoCorrect Entry, etc.
You don't have to dig deep through the menu to access the Undo button. It's available in Gboard's menu button (also known as ...