Hide jquery UI bootstrap tab-open source projects jquery-ui-bootstrap/jquery-ui-bootstrap

Is there any way to hide the Jquery UI bootstrap tab I have written code below to show the particular tab

 $('#myTab a:last').tab('show')

So i tried using below code to hide tab but it gives error that it has no method hide

 $('#myTab a:last').tab('hide')

I have declared tabs in following way in my html