According to this document, Izanagi visited yomi (the world after death) to see Izanami during the process of the birth of deities, but he run away after seeing Izanami who was dead and cold.
神産みでイザナミに逢いに黄泉を訪問したイザナギは、イザナミの変わり果てた姿を見て逃げ出した。