Trade became less in the 18th century . This was because only two ships per year were allowed to dock at Dejima . Trade declined in the 18th century , as only two ships per year were allowed to dock at Dejima .