Please explain. Do you want to deactivate the PSTN ports on the Tenor? If so, all you need to do is disable all the channels in the pstn trunk group (config pstntg 1# dis 1 a) and submit this down.
If you just want to stop calls from coming in to the PSTN, and only allow calls to go out to the PSTN, you can change the direction setting in the pstn trunk group to outgoing only. This is found in the config pstntg 1#.