Kali linux UI missing close/minimize/maximize button
Open a terminal and enter
xfwm4
then press enter. This should restart your window manager and recover you button.
Open a terminal and enter
xfwm4
then press enter. This should restart your window manager and recover you button.