unwrap and remove

HTML

<div class="row">
    <h2><asp:Literal ID="categoryTitle" runat="server"></asp:Literal></h2>
    <ul class="tree js-catTree" id="treeContainer" runat="server"><li>item</li></ul>
</div>

JavaScript

$('.row h2').siblings('ul').unwrap().end().remove();