destroy

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

<div id="listbox" ></div>
<script type="text/javascript">
    $(function () {
        $("#listbox").shieldListBox({
            dataSource: {
                data: countries
            },
            textTemplate: "{name}",
            valueTempate: "{id}"
        });

        $("#listbox").swidget().destroy();

    });
</script>