Morecambe suffered their first away defeat in League Two this season at the hands of Shrewsbury.
Nicky Wroe made the breakthrough for the Shrews from the penalty spot after Nick Fenton had handled in the area.
Morecambe almost drew level when Phil Jevons's volley went narrowly wide before Andrew Fleming headed off target for the visitors.
However, winger Mark Wright headed home late on from an inviting cross by Marvin Morgan to secure victory.
Shrewsbury have now stretched their unbeaten run to six following this win.