No, in this example the person sold equity in order to get the 500K. They can't use the equity as collateral for the loan because they dont own it anymore
But then they’re paying interest and very few startups are going to have stock that a someone will lend against. I cannot imagine someone taking Series A stock as collateral for a loan.