Petronas Yamaha's Franco Morbidelli produced a dominant display to win the San Marino Grand Prix on Sunday after team mate Fabio Quartararo was forced to retire from the race at Misano.