When I close all of the tabs, the browser also gets closed.
There should be a provision to take the browser to the homepage when the last tab will be closed.
As a result whenever the last tab will be closed, the browser still be running and will take you to home page
Brave Version( check
Version 1.27.59 Chromium: 91.0.4472.101 (Official Build) nightly (64-bit)