Hi,

The one and only question is :

1) do you want to stop the PWM output ( set it to 0% )

2) or turn HPWM Module really off ... which is not compulsory, but some kind of " double security ".
you then can use Timer2 for other purposes ...

Alain