WASAPI loopback allows Audacity to record directly from a output stream. When there is no output stream, there is nothing to record so WASAPI loopback recording will stop. The only way to keep it recording is to keep the output stream active.
Why do you want to record silence?
If you want a period of silence within a recording, you can generate it later using “Generate menu > Silence”.