David Bowie stayed positive until the very end of his life.

Following the singer’s death from cancer at age 69 this past weekend, David’s close friend Brian Eno opened up about the star’s final days — and confessed David began saying goodbye to his loved ones prior to his passing.

brian eno - getty images

Brian in January 2015.

“David’s death came as a complete surprise, as did nearly everything else about him. I feel a huge gap now,” Eno said in a statement, according to People.

RELATED: Remember the Late David Bowie by Seeing His Changing Looks Throughout the Years

“We knew each other for over 40 years… Over the last few years — with him living in New York and me in London — our connection was by email. We signed off with invented names: some of his were Mr. Showbiz, Milton Keynes, Rhoda Borrocks and The Duke of Ear,” Eno continued.

brian eno and david bowie - getty images

David and Brian in January 1991.

“I received an email from him seven days ago. It was as funny as always, and as surreal, looping through word games and allusions and all the usual stuff we did,” Eno said. “It ended with this sentence: ‘Thank you for our good times, Brian. They will never rot’. And it was signed ‘Dawn.’ I realize now he was saying goodbye.”

According to the Daily Mail, David battled liver cancer for 18 months before he sadly passed away on Sunday, Jan. 10.