destroy

The destroy() method destroys the instance of the Switch widget.

<input id="switch" type="checkbox" />

<script type="text/javascript">
    $(function () {
        $("#switch").shieldSwitch({
            checked: true
        });

        $("#switch").swidget().destroy();
    });
</script>