Buckling shape transition of an embedded thin elastic rod after failure of surrounding elastic medium. (September 2017)