If you take fresh food off your cruise ship, it will be confiscated. Bags are often checked and there may even be sniffer dogs who are trained to check for food. If you deny having fruit or vegetables and then you're caught with them, you could face a hefty fine.