You should be able to do something as simple as..
$('#myDiv').on('hide.bs.collapse', function (e) {
preventDefault(e);
})
This handles the Bootstrap 3 hide.bs.collapse
event, and prevents the DIV from being hidden again.
Demo: http://bootply.com/75650