Do processes have a chance to terminate safely when the user calls wsl.exe --terminate or wslconfig.exe /t to terminate a distribution on WSL? I'd also like to understand if there's any difference between WSL2 and WSL1 in this respect. On linux, my understanding is that shutdown(8) sends SIGTERM to all processes, which gives them a chance to save and exit cleanly. Is this the case in WSL too through the terminate commands?