Returning balances from smart contracts

Hi, I have been messing with a few smart contracts, nothing serious. I have been using remix, and a few were unsuccessful, and have been sent BNB using metamask.
Is there any function I can call to gain the BNB back from these failed smart contracts, or are they as I'm thinking, and gone forever?
Thank you!
submitted by /u/micmacd89
[link] [comments]