Hi @isaac94193
It most likely is a trigger issue.
When you release the trigger switch it disconnects the power to the motor and also shorts out the motor causing it to stop.
What happens is that when the operating current for the motor, is disconnected by the trigger switch being released, there is a current produced by the collapsing magnetic field in the motor armature coils, The short circuit supplied by the released switch provides a circuit path for this current which flows in the reverse direction through the coils and a new magnetic field is produced in the armature coils with an opposite polarity to what is was when the motor was operating. This is what causes the armature to rapidly stop turning.
Here's the ifixit Ryobi P235 Trigger Replacement guide. Search for 270001671 to find suppliers that suit you best.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
2