figuratively
Figuratively means in a way that is not literal. When you say that someone is acting like a madman, you're not actually describing them as being crazy. You're using the word figuratively to mean that they're behaving in a way that is not normal.
He was acting like a madman when he stormed out of the meeting.
The boat was so damaged that it was impossible to sail it back to the harbor, and the crew was starting to feel like they were going crazy.