And, I'm confused about why you are writing to us and not talking about this VERY important issue with your agent?????? Please consult your agent on this matter. It's vital that you have an open communication with your agent. If you don't, that's a problem.
If you have "sent in your earnest money", whom did you send it to?
If you haven't signed the purchase agreement contract yet, it doesn't sound like you're in a binding purchase agreement so if that's the case, I don't believe your earnest money should have been cashed or deposited yet. So, you'll just have to request your earnest money check back or stop payment on it.
If you've signed and the seller has also signed and returned the signed PA to you, you need to find out from your agent what the timeline is to cancel your PA and get your earnest money back (i.e., when the inspection period ends). If you need to cancel then it will have to be in writing.
If you've signed but the sellers have not yet signed, you'll need to sign something saying you rescind your offer.