The form cannot close without any 'help'.
Set .EnableRaisingEvents = True and put a breakpoint in the cmd_exited sub.
Then step through your code to see which line makes it close.