I press letter 'M' to call up the map. I should be able to press letter 'M' again to close it, but it doesn't work. Similarly, letter 'L' will bring up the quest log, but it won't close it.
This repeat behavior works fine with letter 'I' for inventory or 'K' for skills. They both open and close the relevant window.