I've seen this customer complaint numerous times. While I've typically been unable to duplicate it on road test, bopping the dash in the vicinity of the radio often causes it to come on or switch to cd or some other oddity.
To fix it, replace the radio. Unfortunately Hyundai's warranty on the radio is only 3 years/36k miles in the U.S. (for no apparent reason).