A car has been seized after a learner driver was caught driving it without supervision.