Bret Michaels' surprise appearance on "American Idol" was a very well-kept secret, the musician said.

"The doctors, I didn't tell them I was going to do this," Michaels told Us magazine. "I never told them I was coming here. They're going to find out in a few minutes!"

As for his family, Michaels explained, "I may not have told them, either," he said.

Acknowledging to "Access Hollywood" that "It's been a pretty rough month," he nonetheless called the cameo "the most amazing feeling ever."

He said, "To be alive, to be out here on 'American Idol' and have such an awesome opportunity to come back and play my first performance live again . . . it was really an amazing experience."

Michaels - recovering from an emergency appendectomy, a massive brain hemorrhage and a warning stroke - performed his band Poison's 1980s hit "Every Rose Has Its Thorn," alongside third-place finisher Casey James.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Newsday Investigates: Financial fixes for NUMC; 9/11 Attacks killing LIers; Climate warning: LI could see more extreme weather; Rape charge for Ex-Hauppauge fire chief; Spike in farmstand thefts

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Newsday Investigates: Financial fixes for NUMC; 9/11 Attacks killing LIers; Climate warning: LI could see more extreme weather; Rape charge for Ex-Hauppauge fire chief; Spike in farmstand thefts

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME