Although confusingly, the battery/motor on a Hyundai EV is covered under a different 10-year/100K warranty which does transfer to used car buyers. Important because of their unfixed ICCU problems.
Their much hyped 10 year 100K mile power train warranty is only for the original purchaser. Once sold the warranty reverts to a more standard 5/60K term.
Of the important life-lessons to have before one turns 18;
"don't ever be the third or fourth owner of a Hyundai" is right up there with not eating the yellow snow.
There's no shame in being broke, of course-it is merely a catastrophe. The fourth owner of a '11 Sonata is gonna have a different outlook than the fourth owner of a '73 Mercedes 600 Pullman.