She is expected to be replaced as shadow foreign secretary by Tom Tugendhat.