Separate Categories from WC Product loop when display type is set to both on the category

I have found the solution I was looking for. Using the following code will stop displaying categories in the product loop.

remove_filter( 'woocommerce_product_loop_start', 'woocommerce_maybe_show_product_subcategories' );

Then use the following function in a separate section of the page will render the categories in a separate section.
woocommerce_maybe_show_product_subcategories()