On selecting restart or turn off after installing a TDE version upgrade, it commonly happens, and at other times, without any apparent rhyme or reason as to distro or version, that TDM either hangs entirely, or must time out doing whatever it must to exit before restart or turn off. When the hang happens:
systemctl restart tdm && exit
restarts TDM, after which selecting to restart or turn off succeeds as expected.
This has been going on for years across various distros and distro versions. The instant case prompting to email now is with Fedora 43, but it happens variously on openSUSE, Ubuntu, Debian and Mageia, if not also Neon. As I still have more installations yet to update to 14.1.7, soon would be nice for testing any proposed fix.