If you’ve been paying into your USS pension for less than two years, you may be able to get a refund of your contributions. Whether you are eligible for a refund will depend on various things like how long you’ve been paying in and if you contributed via salary sacrifice.
If you begin the process to leave, you will receive a leaver statement which would include details on how much you could be refunded. This could take up to a few months after your final contribution payment to USS.
Take a look at getting a refund.