I’m looking for a novel I read a couple years ago, i never got to finish it. It was a bl novel set in this historical war setting. The mc is a commander from a country that was fighting another country and he somehow ended up in the enemyS country with his army. He got captured and was getting tortured by the king(who might have been the ml?) or emperor(?),(it was someone in a high position to do whatever he wanted) and nearly got raped by him. The mc’s country’s king gave up on the mc’s army coming back or something. At the end I think they both got married?