It alerts you. You’d have to be asleep to not get the alerts.
In cars with adaptive cruise, lane keeping, etc, it’ll beep and flash on the dash if you’re not steering enough (I have a car that complains all the time because I don’t grip the wheel like an ape).
Some will shake the wheel too. Or slow the car down if you don’t respond.