Yes - nothing like a good healthy voltage spike in flight through the avionics when you turn the generator back on again......
That 5 minutes is the student's first bit of captaincy practice!
But I always check the filler caps and cowling latches visually when I join him/her at the aeroplane.