Take a look at the "Rendering Exception" section from the docs:
https://laravel.com/docs/11.x/errors#rendering-exceptions
The idea is that you can hook to an exception before Laravel handles it and customize its behavior.
In your case, the exception you want to "trap" is the Illuminate\Auth\AuthenticationException.
Add a hook for his exception and return a redirect, or a view as you desire.