For hardware cleaning, shutting down and unplugging is the safe starting point in Apple’s guidance. If you only need a brief dry surface touch-up while working, an input hold can stop accidental clicks; it does not make the hardware safe for liquids.
Prepare the surface task
Save the active document and remove loose items near the laptop. Use a soft, lint-free cloth and gentle pressure. Do not spray cleaner onto the trackpad, flood its edges or force debris into gaps.
If the task needs a damp cloth or a cleaning product, follow Apple’s instructions with the Mac off rather than relying on software.
Hold input for a brief touch-up
In TapNoise Settings › Keyboard › Clean Mode, pick the shortest useful duration and start. The countdown shows that pointer and keyboard actions are temporarily held.
Hold Esc for two seconds if you need to stop early. Test that exit before starting any routine that makes access inconvenient. Accessibility permission is required for the input hold.
Check function afterward
When the timer ends, make an ordinary click and movement in a harmless area. If the trackpad feels mechanically wrong or behaves badly even after cleaning, investigate the hardware rather than increasing wiping pressure.
For the broader distinction, read keyboard input hold versus screen lock. For the whole laptop keyboard, use the cleaning guide.
Sources: Apple’s cleaning rules, TapNoise hold and exit controls.
TapNoise