ISB ~ 1 Thessalonians 5 v19
Do not quench the Spirit:i.e., by resisting the movement of the Spirit and the exercise of his gifts (1 Cor 12:4-11). Paul’s only proviso is that they test prophesies and alleged revelations to make sure they line up with the truths of the gospel (Rom 12:6; 1 Cor 14:29) (CCC 696, 799-801).
• When a person is moved by the Spirit to do something generous, and someone else impedes him, the one who impedes quenches the Spirit. Also, when someone commits mortal sin, the Spirit ceases to abide in him. A third way to quench the Spirit is to conceal our gifts instead of using them for the benefit of others (St. Thomas Aquinas, Commentary on 1 Thessalonians 5, 2).