The recording stops when the sound stops

My operating system is Windows 11 and I have Audacity 3.0.2
When sound stops going into the track, the recording stops after a second or so. I’m unable to pause my playing without the recording stopping too.
I’d be grateful for some advice.

You may have enabled Sound Activated Recording … Recording Preferences - Audacity Manual

Problem solved. Many thanks.