Based on my experience for the last 10 minutes, if the console comes up unbidden you go to the task manager, press 'end process' and hope you or the game saved recently.
~ does not work, it is not a recognised command by the console. Clearly nothing to do with wireless not crumbs either. Type list to get a list of command and you get a screenful of mystery commands none of which look useful. No exit, no quit,,,,
Even more annoying when looking through a ocularum.
:-(
============
Update:
Firstly not everyone uses an American. keyboard. ~ is not to the left of the 1 key on the UK keyboard, ~ is a shift # and to the right of the keyboard..
Then, my comment above, that ~ doesn't work, is fair enough. And if you press the key that really is to the left of 1 (i.e. ¬´¦) it is also taken as a console command and so also doesn't work; as the console states that it is not a valid command. But ignore the failure and keep trying it and it can work eventually. Perhaps it is a deliberate feature not to work some times in order to mislead the gamer and increase frustration ?