There are a number of possible reasons for this. Please try the mouse in a different USB port and also for any mechanical issues. You should try the mouse in another device to check it’s functioning ok. Also, check for a Discharged Battery if it’s a wireless mouse. In this case, try changing the battery or use a wired mouse to replace it.
Then check the laptop for windows and driver updates, particularly the mouse drivers.
Step 1: Go to Device Manager in Windows 11/10/8/7 by pressing the Win + R key, inputting devmgmt.msc and clicking OK.
Step 2: Expand the Mice and other pointing devices section, right-click your mouse driver and choose Update driver.
Step 3: Follow the on-screen guide to finish the driver update.
Then check your laptop trackpad by disabling and re-enabling it. This can sometimes cause an issue with the mouse. On different laptops, the key combinations to disable/enable the trackpad are different. Usually, using Fn + F8 (F7, F5 or F9).
Check for Windows Registry issues:
If the registry is broken, you may also find your mouse gets stuck. In this case, you can use a professional tool, Advanced System Repair Pro, to scan your registry for errors and fix them.
I hope this answers your question.
--If the reply is helpful, please Upvote and Accept as answer--