Just turn it off right after it shuts down before the OS starts booting again. (Or just turn it off whenever, it’s not like there’s much chance of filesystem corruption these days. Although there is a chance of registry corruption if you’re using windows and it’s updating, which is honestly worse to fix)
Last time I used windows 10 on one of my computers an update somehow got stuck so I just turned off the computer and I was never able to get windows to boot again because of how broken the registry was. This was probably around 2019