Heat pump shuts off occasionally on hot day due to high pressure switch trips while heating hot water.

Make sure circulation pump is free of air and is running.