How to take a screenshot when you are using screen sharing
I use LaunchBar to start the ScreenCapture app (it used to be called Grab) so you can search for that as well. Spotlight or any other launcher should work.

Take the screen shot locally on the Mac is my advice and then save it to a cloud sync folder or otherwise get it to your remote is my advice. You get the standard keys and best resolution / drop shadow, correct key shortcuts this way.


https://support.apple.com/en-us/HT201361


LaunchBar is designed to Keep your hands on the keyboard. Well worth the cost for me - especially when I screen share in from Windows / Linux / iOS / iPadOS and even other Macs.


https://obdev.at/products/launchbar/index.html