You keep them, but the collection stops being fully usable. When a Moshi Monsters membership expires, the account reverts to free-tier limits, and that includes how many Moshlings you can have active in your room at once.
Members-only Moshlings do not vanish from your collection; they simply go into storage until you resubscribe. So nothing is deleted, and renewing puts everything back exactly as it was.
If you are deciding whether to renew, the practical difference is capacity and access to members-only areas rather than ownership. And a general safety note for a children's game: never post your username or personal details in comment sections or answer threads — the accounts of players who do get taken over.