Disable parent in wp_list_pages – WordPress

You can use get_pages() instead and write some custom code like this :

$args = array('exclude' => '5',
             'sort_column' => 'ID'
       )
$pages = get_pages($args); 
  foreach ( $pages as $page ) {
    echo $page->post_title;
  }

You may of course elaborate more the code in order to obtain a tree.

You may also check the source code of wp_list_pages() and you will see that there is the get_pages() function, so you may also copy its code and modify it :

https://developer.wordpress.org/reference/functions/wp_list_pages/#source