So can I get my BTC back by logging into mainnet?
Well, not those BTC that you may be shown in your testnet client.
They are not BTC, they're testnet-coins.
Just a quick guess, has somebody sold you a bunch of "BTC" for cheap, but somehow convinced you to use a client in testnet-mode sometime in the past?
If so, you might have been the victim of a SCAM.