def reset(self, max_retries=<NUM_LIT:0>):
return (not self.driver.command_error(<EOL>self.driver.send_command('<STR_LIT>',<EOL>timeout=<NUM_LIT>, immediate=True, max_retries=max_retries)))<EOL>
Resets the drive.

        Resets the drive, which is equivalent to a power cycling.

        Parameters
        ----------
        max_retries : int, optional
            Maximum number of retries to do to reset the drive in the
            case of errors.

        Returns
        -------
        success : bool
            Whether the last reset command (last try or retry) was
            successful (``True``) or not (``False`` meaning it had an
            error).

        Notes
        -----
        The command sent to the drive is '!RESET'.