Lewis Hamilton's Brazilian Grand Prix was miserable, but he still showed his class.