I am aware that as a general rule of thumb, anything beyond the cart is not part of the theme, but shopify's own code, and is largely impossible to edit. However, the order confirmation(thank you) page can be customized with additional scripts, defined in the settings.
Is there a script I could run which would hide the "return to store" button on the confirmation page?
Unfortunately there is not a copy & paste/walk-through guide solution for this, you'd need to get a developer to custom code a script specifically for your theme.
Thank you for your reply. However, it is to my understanding that precisely this is NOT the case. I am referring to a button on the order confirmation page, which is completely independent of my theme.
Shopify provides the possibility of adding additional scripts through its settings, not by editing the code of the theme: https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status
Indeed it's not related to the theme.