Well then Mystra casts the gnome into a magical prison where none of his innate abilities or spells will not work and no amount physical might from inside the prison are outside of it including spells from the outside will work on it. The only one that banish the prison is Mystra herself. And she will not do that banish the prison until Lord Shield the bartender comes back.
------------------