If you exitted without closing the port, this is most likely the problem.
The macro you are using is only a macro inside of the software,
if the software launches, and WIndows comes back with a port not avaibale error,
this would cause problems.

If you are using macros to restart and such, be sure to close the port out before exitting.