destroy

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

<input type="file" name="files" id="files" />

<script type="text/javascript">
    jQuery(function ($) {
        $('#files').shieldUpload({
            async: {
                enabled: true,
                save: {
                    url: "/upload/save"
                },
                remove: {
                    url: "/upload/remove"
                }
            }
        });

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