It is usually no problem. Most cruise lines have a wide range of shore tours that cater for people with various levels of mobility. It is important to note that access to tender ports may be restricted and this may limit your tour options or restrict access to these ports. Do not worry if you cannot get off the ship, there still have plenty of fun activities for you to do on board!