This is a built in feature called "limp mode". It's saying you have a fault with your engine management and has restricted it self in a self preservation sort of way. This can sometimes be overcome by disconnecting the battery for a bit. But if not then will need to be plugged in for diagnostic's