Highest PWM frequency output for the Uno/Nano

Turn the output pin from OUTPUT to INPUT mode. That will stop the signal emerging.