Stop PWM signal

Don't you think that it's a problem not being able to change a pin mode once you use analogWrite to a pin?

Possibly, but since there's an effective workaround (analogWrite (pin, 0) / analogWrite (pin, 255) ), I can't get too agitated about it.