I could not figure out what button to press to exit the shop, i mashed a couple of keys on the keyboard. I think maybe it was ESC that would let me control the character again with the shop still open, then I just figured maybe if i loaded the next day it would close the shop. I was wrong. :)