Run uname -r in terminal and write the kernel version you are using.
If you boot to second to last kervel via Advanced in grub (hit e on boot to see the grub menu if you do not have dual boot).
If that works in non safe mode, then rollback to it and the ladt kernel version is the issue.
See for rolling back Dell Latitude E6500 will not shut down on 22.04 kernel v 5.15.0-119 vs 117 - #4 by marius-ciclistu