Not picking up sound from mics

Everything works and record for about a minute and then Audacity stops picking up any sound from my mics. I am using the Behringer U-Phoria UMC202HD interface. I have a HP All-In-One computer running Windows 10. If anyone has any suggestions I would love to hear them. I am getting so frustrated and have been working on resolving this for 2 days now. I have watched and read so many suggestions and so far nothing works. HELP!!!

Audacity stops picking up any sound from my mics

There’s a different version of that where the computer loses connection with the Behringer as opposed to just not hearing the microphone. They’re different. Does the moving cursor on the Audacity timeline stop dead, or does it keep going with a flat line instead of blue waves?

Does the little yellow Behringer Power light stay on when the system fails?

Do you have headphones? Plug them into the Behringer (switch DIRECT MONITOR on) and listen to your microphone. Does that sound stay working during the failure?

Which microphone do you have?