"被关在马厩" can be translated into English as "be confined/locked in the stable".
Here, "be confined/locked in" conveys the idea of being restricted or trapped, while "the stable" refers to the place where horses are kept.