For a pin-ended slender beam with unstressed profile y0, bending moment depends on curvature change: M=EI(y−y0). An axial dead load gives EI(y−y0)=−Fy in the small-slopemodel.
With y0=Ysin(πx/L) and Fc=π2EI/L2, the equilibrium branch connected to zero load has y=Ysin(πx/L)/(1−F/Fc). The poleas F approaches Fc marks breakdown of the small-deflection model, not a physically infinite beam deflection.