The auto-mapping option can only be configured at the time the permissions are granted. If you want to remove auto-mapping for a user’s access to a shared mailbox, then you must remove their mailbox permissions and then re-add the permissions again.
Get-MailboxPermission -Identity SharedOnPremMailbox -User ABCDE| fl
Remove-MailboxPermission -Identity SharedOnPremMailbox -User ABCDE -AccessRights FullAccess
Add-MailboxPermission -Identity SharedOnPremMailbox -User ABCDE -AccessRights FullAccess -AutoMapping:$false