Use single quotes instead of double. With double quotes, the shell first tries to expand !abc
as a history event, giving you that error. Text in single quotes is not expanded.
This is a linux shell feature, and has nothing to do with Jasypt. The shell is expanding the expression before it executes anything.