Accidental Purchase
Request in the suggestion area for this a “sellback” or an “undo” like there is for accidentally selling the vendor something.
I’ve done the same with a 2 gold trait book. You can’t sell those back either, and have done this with very expensive recipes. It really really stinks.