You could call device->drop(); and then create a new device
for your new map.
Is this really a good idea if you don´t need to preserve nothing? Wouldn't the screen flash or trying to return to the original resolution (speaking on fullscreen mode), or something? Is it a safe method? If it is, it's a simple solution for sure