There was this AMA on reddit a couple months ago about someone writing about their experience in Japanese detention - https://www.reddit.com/r/japan/comments/cdqx4n/i_spent_20_da...
Given how inhumane it is, yeah, I think I would have tried to escape too