This appears to be a similar problem to this unanswered question.
Usually I have a tail -f nohup.out command running in one pane, and nvidia-smi running in the other pane (refreshing every second) to keep an eye on GPU temperatures. The nohup is a script running Blender 3D renders using GPUs via CUDA.
When this happens, the pane with the nvidia-smi is still working correctly, it keeps refreshing, and I can even exit and write other commands which will work. However every pane with the tail -f is completely frozen. Typing Ctrl+C only prints C in the pane, and the process itself is clearly stopped (no more logs coming through the tail-f, no resources utilized at all).
After this happens, no new WSL instance can be started anymore, even if I run wsl ~ in a CMD window; nor does it if I open another Terminal window. It just opens an empty terminal window, but the shell prompt never appears. The only way to recover seems to be restarting the machine :-/.
This is Ubuntu 22.04 on WSL on Windows 11 installed just a couple months ago.
wsl --version returns:
WSL version: 1.1.3.0
Kernel version: 5.15.90.1
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1413