The Frenchman wants to get his career back on track following his controversial exit from Valencia and is aiming to win Clarence Seedorf's trust at San Siro
The Frenchman moved to San Siro in January after his career at Mestalla was abruptly ended in October following a dispute with the club's management.
He did not appear for the Rossoneri until last month but Rami feels time out of the game served to help him as he aims to prove his value to the club.
"I took a step back and this time allowed me to reflect on some points and grow up," he told L'Equipe.
"I was also able to rest. Afterwards, thanks to Milan, the support of my family and my strength of character I was able to overcome this period.
"Today I'm coming back stronger and contrary to what some people have said, I'm not dead."
Clarence Seedorf replaced Massimiliano Allegri as Milan coach in January and Rami is determined to show his new boss his quality.
"For me, when I play for a team I fight at 200 per cent without asking a question. This is how I am. Of course I want to stay at Milan but I have to earn the trust of the coach."
Milan's next match is a home Champions League last-16 clash with Atletico Madrid, with kick-off scheduled for 20:45CET on Wednesday.