In general, move them out of a margin account to a non-margin account.
If the shares are not in a margin account, they cannot (legally) be loaned out for shorting. However, make sure you read your account Ts & Cs for caveats.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.