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 and is regression-tested against the official 110-diagram repetition casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it against the engine before publishing.
Direct answer
Yes. If capturing a particular piece is the only legal answer to a check, no other capture, block or escape square exists, the general must take it, even if that piece is defended and the general is simply recaptured immediately afterward. A move being the only legal option overrides whether it is actually a good one.
Why this is a real attacking resource
An attacker can sometimes deliberately offer a defended piece next to the general specifically because it removes the general's only other escape, knowing the general will be forced to take it and then be captured in turn. It is a way of trading a lesser piece to expose the general on a worse square than it started on.
Recognising the danger in advance
Before allowing your general to be checked with only one legal reply, check what that reply actually costs. A check that looks easily answered can be forcing you into a recapture that leaves the general somewhere considerably more exposed than where it started.
Related questions
Is this common at club level?
Not especially, it requires precise calculation to set up deliberately, though it does happen by accident when a defender has too few options left.
Can this ever lead directly to checkmate?
Yes, if the square the general is forced onto is itself covered by another attacker, the forced capture can walk straight into mate.