The Shepherd at first stood on his guard against him , as against an enemy , and kept a strict watch over his movements .