 Now being left at mercy of Agha Muhammad, Huseyngulu was captured and imprisoned in Shusha on 11 May.However shah was assassinated next day, Huseyngulu left for Baku.Hearing developments, Mirza Muhammad rushed to seize Baku.