Not exactly, because your sddm session is also your login session, even if you are logged in as yourself again from a different tty. It’s all about the tree of PIDs, with its root being your login session. So if you kill that, then you also kill pamac.
You mean this one? ![]()
@linux-aarhus has also posted something like that in the Contributions > Tutorials section.