If your program is unexpectedly exiting while a campaign is running, it could indicate a bug or error in the code. Review your program's code carefully, paying attention to any conditional statements, loops, or external dependencies that could be causing the issue. It might be helpful to consult with a software developer or programmer who specializes in the programming language you're using for the campaign.