diff --git a/pwnagotchi/ui/web/handler.py b/pwnagotchi/ui/web/handler.py
index 2b02130..d0db0e2 100644
--- a/pwnagotchi/ui/web/handler.py
+++ b/pwnagotchi/ui/web/handler.py
@@ -138,7 +138,7 @@ class Handler:
             return render_template_string(STATUS_PAGE, title=pwnagotchi.name(),
                                           message='Restart in %s mode ...' % mode)
         finally:
-            _thread.start_new_thread(pwnagotchi.shutdown, (mode,))
+            _thread.start_new_thread(pwnagotchi.restart, (mode,))
 
     # serve the PNG file with the display image
     def ui(self):