DVLA doing their job

Just wondering, do the cabotage rules apply to the vehicle or the driver or both? Thinking if a driver goes home but hands the vehicle over to another driver. I’d google it, but have had too much vino collapso to make sense of anything official looking, and if I wait until tomorrow I’ll have forgotten about it.