From Wiktionary, the free dictionary
가도 (katwo-, “to confine”) + 이 (-i-, passive suffix).
- (Morphophonemic) IPA(key): ⫽kàtóìtá⫽
가도〮이다〮 (kàtwóìtá) (infinitive 가도〮여〮, sequential 가도〮이니〮)
- to get confined, to get locked up
1481, 월인석보 (Worin Seokbo), volume 9, page 25a:ᄒᆞ다가 有情이 나랏 法에 자피여 ᄆᆡ여 매 마자 獄애 가도이거나- hotaka YWU.CYENG-i nala-s PEP-ey cap-hi-ye moy-ye may mac-a WOK-ay katwoi-kena
- By any chance, [if] a sentient being gets caught by a country's law and gets caned and locked up in prison,