Halt execution of Bamboo build or deploy, without throwing an exception
You can manually stop a build in progress. From Stopping an active build:

To stop an active plan build:

Click Dashboard and then the All Plans tab.
Click the 'Stop' icon next to the active plan you want to stop.


It also appears possible to stop the build/deploy programmatically, using the REST API, more specifically making a DELETE request to the appropriate url:

/queue/{projectKey}-{buildKey}-{buildNumber : ([0-9]+)}?stage&amp;executeAllStages
...
DELETE
Stop build execution.
available response representations:
401
Returned when user does not have sufficient rights to view or execute build for specified plan
204
On success (success is also when build was already completed - so nothing to stop)
404
Returned when specified job does not exist