A surgical safety system for use in connection with a powered surgical instrument can be a standalone device or can be incorporated into existing electrosurgical instruments and generators. The system employs a controller connected to one or more sensors that are monitoring an aspect of a patient undergoing surgery. The controller is also in electrical communication with the powered surgical instrument and is configured to disable the instrument if movement or impending movement is detected.