However, Alauddin Jauhar ul-Alam Syah returned to Aceh in 1816 and began to rally forces against Syarif Saiful Alam Syah. No party was powerful enough to defeat the other. The Acehnese chiefs did not give enthusiastic support to Syarif Saiful Alam despite earlier promises. The sultan did not feel too secure in the palace in
Kutaraja but moved his residence to a place at the coast, Telok Samoy. The sultan had to trust his father's financial resources. 200 armed men were recruited in Penang, but the British were not interested in direct interference. To make things worse, Sayyid Husain was arrested by the colonial authorities for piratical activities in 1816 due to attacks against ships trading in areas which supported Alauddin Jauhar ul-Alam Syah. He was soon released, however. Meanwhile, the end of the
Napoleonic Wars meant that the British became interested in finding a solution in Aceh that would favour the important pepper trade. A mission under John Coombs visited Aceh in 1818 and found Syarif Saiful Alam to be the rightful claimant. Coombs offered him a treaty with Great Britain which the sultan eagerly endorsed. A new mission was dispatched in the next year under Coombs and
Thomas Stamford Raffles. On his way, Raffles founded the
Singapore colony in February. Arriving in Aceh in March, he took another position than Coombs last year. The sultan's claim to the throne was deemed spurious and Alauddin Jauhar ul-Alam Syah was considered the best alternative. The British now made a treaty with him in April 1819. By this time Sayyid Husain had lost large sums on the adventure and his son saw no possibility to maintain his position without British support. The sultan left Aceh in early 1820 and sailed to
Calcutta to plead his case. He found no support from the colonial authorities and returned to Penang in July 1820, leaving Aceh to its fate. However, his departure did not end the kingdom's unsettled conditions. ==After abdication==