Can the general be forced to capture a defended piece in xiangqi?
These answers restate the rules implemented by our open-source engine, which follows the WXF laws for movement, checkmate and both repetition rulings: a side that forces a repetition by perpetual check or perpetual chase loses rather than drawing. The chase half has not been validated against the official casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it before publishing.
Direct answer
No. A capture that leaves the general in check is illegal, so the general can never take a defended piece, not even to answer a check. If taking that piece would have been the only escape, there is no legal answer at all, and the position is checkmate. Attackers use exactly this: a defended piece next to the general is a point it cannot use.
Why this is a real attacking resource
An attacker can deliberately place a defended piece next to the general because the general cannot take it. The piece removes an escape point without ever being captured, and if it also gives check, or covers the last free point while another piece checks, the result is mate.
Recognising the danger in advance
Before allowing your general to be checked, look at the enemy pieces next to it and ask which of them are defended. A capture that looks like your way out is not available if the piece is covered, and a check you expected to answer that way may be mate.
Related questions
Is this common at club level?
The idea behind it is everywhere: many basic mates finish with a defended piece next to the general, which it is not allowed to take.
Can this ever lead directly to checkmate?
Yes. If capturing the defended piece is the only way out of a check, the general has no legal move and the game is over.