The route offered here is short: go online and destroy the castle.
Sandbox mode in these Flash-era tower defense games is typically an unlockable reward rather than a menu option, so it has to be earned in play first. If that does not trigger it, check the in-game achievements or options panel, where the mode is usually listed once available.