destroy

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

<div id="rating" ></div>
<script type="text/javascript">
$('#rating').shieldRating({
              max: 7,
              step: 1,
              value: 3,
              markPreset: false
          });

$('#rating').swidget().destroy();

</script>