Captivity of Mangalorean Catholics at Seringapatam
and ended only when Tipu was killed in action during the Battle of Seringapatam against the British on 4 May 1799 , during the Fourth Anglo-Mysore War . 
<triplet> Battle of Seringapatam <subj> 4 May 1799 <obj> end time <subj> Fourth Anglo-Mysore War <obj> part of <triplet> Fourth Anglo-Mysore War <subj> 4 May 1799 <obj> point in time