Hey, if you are in freebuild you should always be able to swap back and forth between build and play. If you are in survival mode then there is a "cost" on the top right. If the cost exceeds your current scrap then you cannot exit. To make your ship cheaper remove parts or try out freebuild!