Right, I took deposit to mean the sum you deposit when you commit to the purchase at Exchange of Contracts prior to completion.
What you mean is that you stumped up 5% of the purchase price and borrowed the rest. In other words, you owe your lender 95% of the original purchase price, irrespective of what the property is now worth.
If you sell the property, you must repay this to the lender (in practice, any proceeds of a sale go to the lender first, and any remaining will then go to you).
So, sell for anything less than you paid for it, and you will be losing money.
Even if you sell for the same price you purchased, or more, then you are still unlikely to get your deposit back by the time you pay legal and estate agents' fees and pay back the lender, which may well include additional exit fees and early redemption penalties.