The word momentarily means 'for a short space of time' whereas the word shortly means 'in a short while'.