When a cantilever beam of length L is subjected to free end moment M, The fixed end has zero deflection and zero rotation.
The above is the shape of shear force diagram. Since it is a pure bending case i.e. no shear force F is applied at any part of beam. The bending moment M will be constant all along the span and equal to M‌0 above of course, this assumes zero self weight udl along the span.