Hi Shivani,
Can you narrow down a bit more under which circumstances this happens? Is it only one device/model or are several units doing this? Is your HIL connected via USB or Ethernet?
You can rest the power remotely, but you need to be able to connect to the device. If you are not able to connect to it, Marko's suggestion is the way to go.