Toward the end of his life, Haci Arif Bey had a fall out with the emperor Abdul Hamid II at the time, and was jailed for about 50 days. While there, he composed several songs, which were later appreciated by Abdul Hamid II, and he was forgiven. He taught at the Imperial Music School for the rest of his life.