Add stop() to action.cpp