Are you referring to his second ending? I followed the guide and it's triggered by the protagonist running out of stamina while playing with Sep after he replaces Nel to help Sep with his work.