Averting one's attention with

目(め)を離(はな)す means “to take one’s eyes off” or “to look away”. It often warns that even a brief lapse in attention could cause trouble.

Usage Notes

It often appears in warnings and reminders when something could go wrong without close attention.

It often appears in the expressions 「ちょっと目(め)を離(はな)したら〜」 (similar to English, “took my eyes off for one second”) and 「目(め)を離(はな)したスキに〜」.

Dictionary Definition

注意(ちゅうい)している目(め)をそらす。

To avert one's eyes from paying attention.

Goo Dictionary

Further Reading

Examples

This happens as soon as I take my eyes off you with 目を離す

Manga panel from 名探偵コナン showing example of This happens as soon as I take my eyes off you with 目を離す.
名探偵コナン » Volume 4 » Page 68

During a trip on a train, Conan accidentally overhears that there is a bomb on the train, and it’s set to go off. Conan tries to follow the criminals as they disembark, but Ran stops him at the exit door.

コナン:
「あーーー」
“Ah...!”
蘭(らん):
「もぉ!目(め)を離(はな)すとすぐこれなんだから!」
“Geez! As soon as I take my eyes off you, this happens!”

When I took my eyes off her for just a minute with 目を離す

Manga panel from にじいろフォトグラフ showing example of When I took my eyes off her for just a minute with 目を離す.
にじいろフォトグラフ » Volume 1 » Page 92

Satsuki leaves Sara, the young girl she’s watching, alone to go heat up lunch. When she returns with the food, Sara is nowhere to be found. Satsuki calls her sister to let her know what’s happened.

皐(さつき):
「それが… ちょっと目(め)を離(はな)した隙(すき)に…」
“The thing is, I took my eyes off her for a just a minute...”
「これから警察(けいさつ)に連絡(れんらく)して探(さが)しに出(で)るから…」
“I'm going to call the police, then I'm heading out to look for her...”