When you confirm the re-start or turn-off of your mac, there's a checkbox that determines how apps will be loaded back, un-check it and it will not load the open software to the state you've closed your mac with.