You're never obligated to take an organized shore excursion. To explore a city more in depth or see something not included on an organized excursion, consider exploring on your own.
If you explore on your own, keep an eye on your watch. If you miss a launch, you'll have to meet the ship at the next port, at your expense.