$pages->last()

Returns the last $page object from the collection

Example

<?php echo $page->children()->last()->title() ?>