(Old fashioned) Quit. End one’s losses . ‘Stakes’ is a reference to a mining claim like the old gold rush days when no gold is found, so you give up your claim or ‘pullĀ up’ your stake and try somewhere else.
“He tried running a vinyl record store for a year, but lost money so he finally pulled up his takes and moved away.”