Target display mode is the naughty little girl which lives in your iMac:
When she was good, She was very good indeed, But when she was bad she was horrid.
When she was good,
She was very good indeed,
But when she was bad she was horrid.
It’s been rock solid reliable for the last 3 hours, then failed and now won’t reconnect.