How do I restart KWin (Wayland compositor) when it freezes?

So, I hear Qt6 applications will survive KWin compositor crashes and try to reconnect after it comes back. The question is, how do I restart KWin on the same session?

I’ve tried kwin --replace, but that starts a new KWin session on the current TTY.