Use wayland-logout to kill the current compositor instance. Launch logout GUI wlogout:
~/.config/wf-shell.ini
~
/.
config
/
wf
-
shell
.
ini
[panel]
menu_logout_command = wlogout