Of course. You may see it as - there are left some references to OBS source (the 'Mic' in your case) and the source still doing its job, but you decided to terminate all current capturing tasks and switch to other set of scenes (other set of capture sources). OBS counts all new references, so at closing old sources it sees that number of opened sources is more than number of recently closed (some were lost, and thus may uncontrollably working in background). OBS panics and decides that is better to restart all jobs (streaming/recording/rendering etc) rather than continue to capture some uncontrollable mess.
The message that precedes shutdown says:
Source Cleanup Error. There was a problem while changing scene collections and some sources could not be unloaded. This issue is typically caused by plugins that are not releasing resources properly. Please ensure that any plugins you are using are up to date. OBS Studio will now exit to prevent any potential data corruption.
So, look at your plugins that may read 'Mic' data for some purposes.