Original: When Izanami died in childbirth, Izanagi tried (but failed) to retrieve her from Yomi (the underworld).
Simplified: When Izanami died while giving birth to a child, Izanagi tried (but failed) to retrieve her from Yomi (the underworld).