Accused of treason against the King, Dobó spent several years imprisoned in the castle of Pozsony (now Bratislava, Slovakia).
His health was seriously impaired by his imprisonment, and he died in his home soon after his release from captivity.