An axle assembly having a collar that receives a shift collar that is moveable along an axis. An alignment rod may be provided to inhibit rotation of the collar about the axis. A linkage retaining device may be provided that is selectively engageable with a linkage that is operatively connected to the shift collar to inhibit rotation of the linkage.