How far can a terminating resistor be from the literal end of a CAN bus?
What you have is essentially an unterminated stub. This TI application note mentions on page 9 the maximum length allowed for a stub according to the CAN specification. It is 0.3 m, slightly longer than your 10, therefore I think you should be fine.

If you can change the slew rate of your CAN driver, as they suggest, then you might have longer unterminated stubs, but it does not apply to your case, since your HMI panel probably cannot change its slew rate.

edit: Oops, mixed 10 inches with 10 feet, which is way larger than the maximum allowed stub.